// { "framework": "Vue"} 

/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 26);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /**
                                                                                                                                                                                                                                                                                * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
                                                                                                                                                                                                                                                                                * Created by Tw93 on 17/11/01
                                                                                                                                                                                                                                                                                */

var _urlParse = __webpack_require__(55);

var _urlParse2 = _interopRequireDefault(_urlParse);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var Utils = {
  UrlParser: _urlParse2.default,
  _typeof: function _typeof(obj) {
    return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase();
  },
  isPlainObject: function isPlainObject(obj) {
    return Utils._typeof(obj) === 'object';
  },
  isString: function isString(obj) {
    return typeof obj === 'string';
  },
  isNonEmptyArray: function isNonEmptyArray() {
    var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];

    return obj && obj.length > 0 && Array.isArray(obj) && typeof obj !== 'undefined';
  },
  isObject: function isObject(item) {
    return item && (typeof item === 'undefined' ? 'undefined' : _typeof2(item)) === 'object' && !Array.isArray(item);
  },
  isEmptyObject: function isEmptyObject(obj) {
    return Object.keys(obj).length === 0 && obj.constructor === Object;
  },
  decodeIconFont: function decodeIconFont(text) {
    // 正则匹配 图标和文字混排 eg: 我去上学校&#xe600;,天天不&#xe600;迟到
    var regExp = /&#x[a-z|0-9]{4,5};?/g;
    if (regExp.test(text)) {
      return text.replace(new RegExp(regExp, 'g'), function (iconText) {
        var replace = iconText.replace(/&#x/, '0x').replace(/;$/, '');
        return String.fromCharCode(replace);
      });
    } else {
      return text;
    }
  },
  mergeDeep: function mergeDeep(target) {
    for (var _len = arguments.length, sources = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      sources[_key - 1] = arguments[_key];
    }

    if (!sources.length) return target;
    var source = sources.shift();
    if (Utils.isObject(target) && Utils.isObject(source)) {
      for (var key in source) {
        if (Utils.isObject(source[key])) {
          if (!target[key]) {
            Object.assign(target, _defineProperty({}, key, {}));
          }
          Utils.mergeDeep(target[key], source[key]);
        } else {
          Object.assign(target, _defineProperty({}, key, source[key]));
        }
      }
    }
    return Utils.mergeDeep.apply(Utils, [target].concat(sources));
  },
  appendProtocol: function appendProtocol(url) {
    if (/^\/\//.test(url)) {
      var bundleUrl = weex.config.bundleUrl;

      return 'http' + (/^https:/.test(bundleUrl) ? 's' : '') + ':' + url;
    }
    return url;
  },
  encodeURLParams: function encodeURLParams(url) {
    var parsedUrl = new _urlParse2.default(url, true);
    return parsedUrl.toString();
  },
  goToH5Page: function goToH5Page(jumpUrl) {
    var animated = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    var callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;

    var Navigator = weex.requireModule('navigator');
    var jumpUrlObj = new Utils.UrlParser(jumpUrl, true);
    var url = Utils.appendProtocol(jumpUrlObj.toString());
    Navigator.push({
      url: Utils.encodeURLParams(url),
      animated: animated.toString()
    }, callback);
  },

  env: {
    isTaobao: function isTaobao() {
      var appName = weex.config.env.appName;

      return (/(tb|taobao|淘宝)/i.test(appName)
      );
    },
    isTrip: function isTrip() {
      var appName = weex.config.env.appName;

      return appName === 'LX';
    },
    isBoat: function isBoat() {
      var appName = weex.config.env.appName;

      return appName === 'Boat' || appName === 'BoatPlayground';
    },
    isWeb: function isWeb() {
      var platform = weex.config.env.platform;

      return (typeof window === 'undefined' ? 'undefined' : _typeof2(window)) === 'object' && platform.toLowerCase() === 'web';
    },
    isIOS: function isIOS() {
      var platform = weex.config.env.platform;

      return platform.toLowerCase() === 'ios';
    },

    /**
     * 是否为 iPhone X or iPhoneXS or iPhoneXR or iPhoneXS Max
     * @returns {boolean}
     */
    isIPhoneX: function isIPhoneX() {
      var deviceHeight = weex.config.env.deviceHeight;

      if (Utils.env.isWeb()) {
        return (typeof window === 'undefined' ? 'undefined' : _typeof2(window)) !== undefined && window.screen && window.screen.width && window.screen.height && (parseInt(window.screen.width, 10) === 375 && parseInt(window.screen.height, 10) === 812 || parseInt(window.screen.width, 10) === 414 && parseInt(window.screen.height, 10) === 896);
      }
      return Utils.env.isIOS() && (deviceHeight === 2436 || deviceHeight === 2688 || deviceHeight == 1792);
    },
    isAndroid: function isAndroid() {
      var platform = weex.config.env.platform;

      return platform.toLowerCase() === 'android';
    },
    isAlipay: function isAlipay() {
      var appName = weex.config.env.appName;

      return appName === 'AP';
    },
    isTmall: function isTmall() {
      var appName = weex.config.env.appName;

      return (/(tm|tmall|天猫)/i.test(appName)
      );
    },
    isAliWeex: function isAliWeex() {
      return Utils.env.isTmall() || Utils.env.isTrip() || Utils.env.isTaobao();
    },

    /**
     * 获取weex屏幕真实的设置高度，需要减去导航栏高度
     * @returns {Number}
     */
    getPageHeight: function getPageHeight() {
      var env = weex.config.env;

      var navHeight = Utils.env.isWeb() ? 0 : Utils.env.isIPhoneX() ? 176 : 132;
      return env.deviceHeight / env.deviceWidth * 750 - navHeight;
    },

    /**
     * 获取weex屏幕真实的设置高度
     * @returns {Number}
     */
    getScreenHeight: function getScreenHeight() {
      var env = weex.config.env;

      return env.deviceHeight / env.deviceWidth * 750;
    }
  },

  /**
   * 版本号比较
   * @memberOf Utils
   * @param currVer {string}
   * @param promoteVer {string}
   * @returns {boolean}
   * @example
   *
   * const { Utils } = require('@ali/wx-bridge');
   * const { compareVersion } = Utils;
   * console.log(compareVersion('0.1.100', '0.1.11')); // 'true'
   */
  compareVersion: function compareVersion() {
    var currVer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '0.0.0';
    var promoteVer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0.0.0';

    if (currVer === promoteVer) return true;
    var currVerArr = currVer.split('.');
    var promoteVerArr = promoteVer.split('.');
    var len = Math.max(currVerArr.length, promoteVerArr.length);
    for (var i = 0; i < len; i++) {
      var proVal = ~~promoteVerArr[i];
      var curVal = ~~currVerArr[i];
      if (proVal < curVal) {
        return true;
      } else if (proVal > curVal) {
        return false;
      }
    }
    return false;
  },

  /**
   * 分割数组
   * @param arr 被分割数组
   * @param size 分割数组的长度
   * @returns {Array}
   */
  arrayChunk: function arrayChunk() {
    var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
    var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 4;

    var groups = [];
    if (arr && arr.length > 0) {
      groups = arr.map(function (e, i) {
        return i % size === 0 ? arr.slice(i, i + size) : null;
      }).filter(function (e) {
        return e;
      });
    }
    return groups;
  },

  /*
   * 截断字符串
   * @param str 传入字符串
   * @param len 截断长度
   * @param hasDot 末尾是否...
   * @returns {String}
   */
  truncateString: function truncateString(str, len) {
    var hasDot = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;

    var newLength = 0;
    var newStr = '';
    var singleChar = '';
    var chineseRegex = /[^\x00-\xff]/g;
    var strLength = str.replace(chineseRegex, '**').length;
    for (var i = 0; i < strLength; i++) {
      singleChar = str.charAt(i).toString();
      if (singleChar.match(chineseRegex) !== null) {
        newLength += 2;
      } else {
        newLength++;
      }
      if (newLength > len) {
        break;
      }
      newStr += singleChar;
    }

    if (hasDot && strLength > len) {
      newStr += '...';
    }
    return newStr;
  },

  /*
   * 转换 obj 为 url params参数
   * @param obj 传入字符串
   * @returns {String}
   */
  objToParams: function objToParams(obj) {
    var str = "";
    for (var key in obj) {
      if (str !== "") {
        str += "&";
      }
      str += key + "=" + encodeURIComponent(obj[key]);
    }
    return str;
  },

  /*
   * 转换 url params参数为obj
   * @param str 传入url参数字符串
   * @returns {Object}
   */
  paramsToObj: function paramsToObj(str) {
    var obj = {};
    try {
      obj = JSON.parse('{"' + decodeURI(str).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"') + '"}');
    } catch (e) {
      console.log(e);
    }
    return obj;
  },

  animation: {
    /**
     * 返回定义页面转场动画起初的位置
     * @param ref
     * @param transform 运动类型
     * @param status
     * @param callback 回调函数
     */
    pageTransitionAnimation: function pageTransitionAnimation(ref, transform, status, callback) {
      var animation = weex.requireModule('animation');
      animation.transition(ref, {
        styles: {
          transform: transform
        },
        duration: status ? 250 : 300, // ms
        timingFunction: status ? 'ease-in' : 'ease-out',
        delay: 0 // ms
      }, function () {
        callback && callback();
      });
    }
  },
  uiStyle: {
    /**
     * 返回定义页面转场动画起初的位置
     * @param animationType 页面转场动画的类型 push，model
     * @param size 分割数组的长度
     * @returns {}
     */
    pageTransitionAnimationStyle: function pageTransitionAnimationStyle(animationType) {
      if (animationType === 'push') {
        return {
          left: '750px',
          top: '0px',
          height: weex.config.env.deviceHeight / weex.config.env.deviceWidth * 750 + 'px'
        };
      } else if (animationType === 'model') {
        return {
          top: weex.config.env.deviceHeight / weex.config.env.deviceWidth * 750 + 'px',
          left: '0px',
          height: weex.config.env.deviceHeight / weex.config.env.deviceWidth * 750 + 'px'
        };
      }
      return {};
    }
  }
};

exports.default = Utils;

/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

//app内部图片及图标地址
var baseUrl = 'https://deitylamp.com';
exports.default = baseUrl;

/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
var stream = weex.requireModule('stream');
var request = {
    get: function get(api, callback) {
        return stream.fetch({
            method: 'GET',
            type: 'json',
            url: 'https://diancan.deitylamp.com/diancan/2.0' + api
        }, callback);
    },
    post: function post(api, params, callback) {
        var POST_URL = 'https://diancan.deitylamp.com/diancan/2.0' + api;
        //      var params = 'parm0=0&parm1=abc';示例
        return stream.fetch({
            method: 'POST',
            url: POST_URL,
            body: params,
            type: 'jsonp'
        }, callback);
    }
};
exports.default = request;

/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.WxcTag = exports.WxcTabPage = exports.WxcTabBar = exports.WxcStepper = exports.WxcSpecialRichText = exports.WxcSliderBar = exports.WxcSlideNav = exports.WxcSimpleFlow = exports.WxcSearchbar = exports.WxcRichText = exports.WxcResult = exports.WxcRefresher = exports.WxcRadio = exports.WxcProgress = exports.WxcPopup = exports.WxcPopover = exports.WxcPartLoading = exports.WxcPanItem = exports.WxcPageCalendar = exports.WxcOverlay = exports.WxcNoticebar = exports.WxcMinibar = exports.WxcMask = exports.WxcLotteryRain = exports.WxcLoading = exports.WxcLightbox = exports.WxcIndexlist = exports.WxcIcon = exports.WxcGridSelect = exports.WxcFullPage = exports.WxcEpSlider = exports.WxcDialog = exports.WxcCountdown = exports.WxcCity = exports.WxcCheckboxList = exports.WxcCheckbox = exports.WxcCell = exports.WxcButton = exports.Utils = exports.BindEnv = undefined;

var _bindEnv = __webpack_require__(54);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _wxcButton = __webpack_require__(58);

var _wxcButton2 = _interopRequireDefault(_wxcButton);

var _wxcCell = __webpack_require__(10);

var _wxcCell2 = _interopRequireDefault(_wxcCell);

var _wxcCheckbox = __webpack_require__(68);

var _wxcCheckbox2 = _interopRequireDefault(_wxcCheckbox);

var _wxcCheckboxList = __webpack_require__(73);

var _wxcCheckboxList2 = _interopRequireDefault(_wxcCheckboxList);

var _wxcCity = __webpack_require__(77);

var _wxcCity2 = _interopRequireDefault(_wxcCity);

var _wxcCountdown = __webpack_require__(103);

var _wxcCountdown2 = _interopRequireDefault(_wxcCountdown);

var _wxcDialog = __webpack_require__(108);

var _wxcDialog2 = _interopRequireDefault(_wxcDialog);

var _wxcEpSlider = __webpack_require__(118);

var _wxcEpSlider2 = _interopRequireDefault(_wxcEpSlider);

var _wxcFullPage = __webpack_require__(123);

var _wxcFullPage2 = _interopRequireDefault(_wxcFullPage);

var _wxcGridSelect = __webpack_require__(128);

var _wxcGridSelect2 = _interopRequireDefault(_wxcGridSelect);

var _wxcIcon = __webpack_require__(137);

var _wxcIcon2 = _interopRequireDefault(_wxcIcon);

var _wxcIndexlist = __webpack_require__(20);

var _wxcIndexlist2 = _interopRequireDefault(_wxcIndexlist);

var _wxcLightbox = __webpack_require__(143);

var _wxcLightbox2 = _interopRequireDefault(_wxcLightbox);

var _wxcLoading = __webpack_require__(152);

var _wxcLoading2 = _interopRequireDefault(_wxcLoading);

var _wxcLotteryRain = __webpack_require__(157);

var _wxcLotteryRain2 = _interopRequireDefault(_wxcLotteryRain);

var _wxcMask = __webpack_require__(21);

var _wxcMask2 = _interopRequireDefault(_wxcMask);

var _wxcMinibar = __webpack_require__(23);

var _wxcMinibar2 = _interopRequireDefault(_wxcMinibar);

var _wxcNoticebar = __webpack_require__(173);

var _wxcNoticebar2 = _interopRequireDefault(_wxcNoticebar);

var _wxcOverlay = __webpack_require__(8);

var _wxcOverlay2 = _interopRequireDefault(_wxcOverlay);

var _wxcPageCalendar = __webpack_require__(179);

var _wxcPageCalendar2 = _interopRequireDefault(_wxcPageCalendar);

var _wxcPanItem = __webpack_require__(185);

var _wxcPanItem2 = _interopRequireDefault(_wxcPanItem);

var _wxcPartLoading = __webpack_require__(189);

var _wxcPartLoading2 = _interopRequireDefault(_wxcPartLoading);

var _wxcPopover = __webpack_require__(193);

var _wxcPopover2 = _interopRequireDefault(_wxcPopover);

var _wxcPopup = __webpack_require__(198);

var _wxcPopup2 = _interopRequireDefault(_wxcPopup);

var _wxcProgress = __webpack_require__(203);

var _wxcProgress2 = _interopRequireDefault(_wxcProgress);

var _wxcRadio = __webpack_require__(208);

var _wxcRadio2 = _interopRequireDefault(_wxcRadio);

var _wxcRefresher = __webpack_require__(218);

var _wxcRefresher2 = _interopRequireDefault(_wxcRefresher);

var _wxcResult = __webpack_require__(19);

var _wxcResult2 = _interopRequireDefault(_wxcResult);

var _wxcRichText = __webpack_require__(223);

var _wxcRichText2 = _interopRequireDefault(_wxcRichText);

var _wxcSearchbar = __webpack_require__(18);

var _wxcSearchbar2 = _interopRequireDefault(_wxcSearchbar);

var _wxcSimpleFlow = __webpack_require__(241);

var _wxcSimpleFlow2 = _interopRequireDefault(_wxcSimpleFlow);

var _wxcSlideNav = __webpack_require__(246);

var _wxcSlideNav2 = _interopRequireDefault(_wxcSlideNav);

var _wxcSliderBar = __webpack_require__(251);

var _wxcSliderBar2 = _interopRequireDefault(_wxcSliderBar);

var _wxcSpecialRichText = __webpack_require__(256);

var _wxcSpecialRichText2 = _interopRequireDefault(_wxcSpecialRichText);

var _wxcStepper = __webpack_require__(261);

var _wxcStepper2 = _interopRequireDefault(_wxcStepper);

var _wxcTabBar = __webpack_require__(266);

var _wxcTabBar2 = _interopRequireDefault(_wxcTabBar);

var _wxcTabPage = __webpack_require__(271);

var _wxcTabPage2 = _interopRequireDefault(_wxcTabPage);

var _wxcTag = __webpack_require__(276);

var _wxcTag2 = _interopRequireDefault(_wxcTag);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 17/09/25
 */

exports.BindEnv = _bindEnv2.default;
exports.Utils = _utils2.default;
exports.WxcButton = _wxcButton2.default;
exports.WxcCell = _wxcCell2.default;
exports.WxcCheckbox = _wxcCheckbox2.default;
exports.WxcCheckboxList = _wxcCheckboxList2.default;
exports.WxcCity = _wxcCity2.default;
exports.WxcCountdown = _wxcCountdown2.default;
exports.WxcDialog = _wxcDialog2.default;
exports.WxcEpSlider = _wxcEpSlider2.default;
exports.WxcFullPage = _wxcFullPage2.default;
exports.WxcGridSelect = _wxcGridSelect2.default;
exports.WxcIcon = _wxcIcon2.default;
exports.WxcIndexlist = _wxcIndexlist2.default;
exports.WxcLightbox = _wxcLightbox2.default;
exports.WxcLoading = _wxcLoading2.default;
exports.WxcLotteryRain = _wxcLotteryRain2.default;
exports.WxcMask = _wxcMask2.default;
exports.WxcMinibar = _wxcMinibar2.default;
exports.WxcNoticebar = _wxcNoticebar2.default;
exports.WxcOverlay = _wxcOverlay2.default;
exports.WxcPageCalendar = _wxcPageCalendar2.default;
exports.WxcPanItem = _wxcPanItem2.default;
exports.WxcPartLoading = _wxcPartLoading2.default;
exports.WxcPopover = _wxcPopover2.default;
exports.WxcPopup = _wxcPopup2.default;
exports.WxcProgress = _wxcProgress2.default;
exports.WxcRadio = _wxcRadio2.default;
exports.WxcRefresher = _wxcRefresher2.default;
exports.WxcResult = _wxcResult2.default;
exports.WxcRichText = _wxcRichText2.default;
exports.WxcSearchbar = _wxcSearchbar2.default;
exports.WxcSimpleFlow = _wxcSimpleFlow2.default;
exports.WxcSlideNav = _wxcSlideNav2.default;
exports.WxcSliderBar = _wxcSliderBar2.default;
exports.WxcSpecialRichText = _wxcSpecialRichText2.default;
exports.WxcStepper = _wxcStepper2.default;
exports.WxcTabBar = _wxcTabBar2.default;
exports.WxcTabPage = _wxcTabPage2.default;
exports.WxcTag = _wxcTag2.default;

/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var bind = __webpack_require__(12);
var isBuffer = __webpack_require__(29);

/*global toString:true*/

// utils is a library of generic helper functions non-specific to axios

var toString = Object.prototype.toString;

/**
 * Determine if a value is an Array
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an Array, otherwise false
 */
function isArray(val) {
  return toString.call(val) === '[object Array]';
}

/**
 * Determine if a value is an ArrayBuffer
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an ArrayBuffer, otherwise false
 */
function isArrayBuffer(val) {
  return toString.call(val) === '[object ArrayBuffer]';
}

/**
 * Determine if a value is a FormData
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an FormData, otherwise false
 */
function isFormData(val) {
  return (typeof FormData !== 'undefined') && (val instanceof FormData);
}

/**
 * Determine if a value is a view on an ArrayBuffer
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
 */
function isArrayBufferView(val) {
  var result;
  if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
    result = ArrayBuffer.isView(val);
  } else {
    result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
  }
  return result;
}

/**
 * Determine if a value is a String
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a String, otherwise false
 */
function isString(val) {
  return typeof val === 'string';
}

/**
 * Determine if a value is a Number
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Number, otherwise false
 */
function isNumber(val) {
  return typeof val === 'number';
}

/**
 * Determine if a value is undefined
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if the value is undefined, otherwise false
 */
function isUndefined(val) {
  return typeof val === 'undefined';
}

/**
 * Determine if a value is an Object
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an Object, otherwise false
 */
function isObject(val) {
  return val !== null && typeof val === 'object';
}

/**
 * Determine if a value is a Date
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Date, otherwise false
 */
function isDate(val) {
  return toString.call(val) === '[object Date]';
}

/**
 * Determine if a value is a File
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a File, otherwise false
 */
function isFile(val) {
  return toString.call(val) === '[object File]';
}

/**
 * Determine if a value is a Blob
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Blob, otherwise false
 */
function isBlob(val) {
  return toString.call(val) === '[object Blob]';
}

/**
 * Determine if a value is a Function
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Function, otherwise false
 */
function isFunction(val) {
  return toString.call(val) === '[object Function]';
}

/**
 * Determine if a value is a Stream
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Stream, otherwise false
 */
function isStream(val) {
  return isObject(val) && isFunction(val.pipe);
}

/**
 * Determine if a value is a URLSearchParams object
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a URLSearchParams object, otherwise false
 */
function isURLSearchParams(val) {
  return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
}

/**
 * Trim excess whitespace off the beginning and end of a string
 *
 * @param {String} str The String to trim
 * @returns {String} The String freed of excess whitespace
 */
function trim(str) {
  return str.replace(/^\s*/, '').replace(/\s*$/, '');
}

/**
 * Determine if we're running in a standard browser environment
 *
 * This allows axios to run in a web worker, and react-native.
 * Both environments support XMLHttpRequest, but not fully standard globals.
 *
 * web workers:
 *  typeof window -> undefined
 *  typeof document -> undefined
 *
 * react-native:
 *  navigator.product -> 'ReactNative'
 */
function isStandardBrowserEnv() {
  if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
    return false;
  }
  return (
    typeof window !== 'undefined' &&
    typeof document !== 'undefined'
  );
}

/**
 * Iterate over an Array or an Object invoking a function for each item.
 *
 * If `obj` is an Array callback will be called passing
 * the value, index, and complete array for each item.
 *
 * If 'obj' is an Object callback will be called passing
 * the value, key, and complete object for each property.
 *
 * @param {Object|Array} obj The object to iterate
 * @param {Function} fn The callback to invoke for each item
 */
function forEach(obj, fn) {
  // Don't bother if no value provided
  if (obj === null || typeof obj === 'undefined') {
    return;
  }

  // Force an array if not already something iterable
  if (typeof obj !== 'object') {
    /*eslint no-param-reassign:0*/
    obj = [obj];
  }

  if (isArray(obj)) {
    // Iterate over array values
    for (var i = 0, l = obj.length; i < l; i++) {
      fn.call(null, obj[i], i, obj);
    }
  } else {
    // Iterate over object keys
    for (var key in obj) {
      if (Object.prototype.hasOwnProperty.call(obj, key)) {
        fn.call(null, obj[key], key, obj);
      }
    }
  }
}

/**
 * Accepts varargs expecting each argument to be an object, then
 * immutably merges the properties of each object and returns result.
 *
 * When multiple objects contain the same key the later object in
 * the arguments list will take precedence.
 *
 * Example:
 *
 * ```js
 * var result = merge({foo: 123}, {foo: 456});
 * console.log(result.foo); // outputs 456
 * ```
 *
 * @param {Object} obj1 Object to merge
 * @returns {Object} Result of all merge properties
 */
function merge(/* obj1, obj2, obj3, ... */) {
  var result = {};
  function assignValue(val, key) {
    if (typeof result[key] === 'object' && typeof val === 'object') {
      result[key] = merge(result[key], val);
    } else {
      result[key] = val;
    }
  }

  for (var i = 0, l = arguments.length; i < l; i++) {
    forEach(arguments[i], assignValue);
  }
  return result;
}

/**
 * Extends object a by mutably adding to it the properties of object b.
 *
 * @param {Object} a The object to be extended
 * @param {Object} b The object to copy properties from
 * @param {Object} thisArg The object to bind function to
 * @return {Object} The resulting value of object a
 */
function extend(a, b, thisArg) {
  forEach(b, function assignValue(val, key) {
    if (thisArg && typeof val === 'function') {
      a[key] = bind(val, thisArg);
    } else {
      a[key] = val;
    }
  });
  return a;
}

module.exports = {
  isArray: isArray,
  isArrayBuffer: isArrayBuffer,
  isBuffer: isBuffer,
  isFormData: isFormData,
  isArrayBufferView: isArrayBufferView,
  isString: isString,
  isNumber: isNumber,
  isObject: isObject,
  isUndefined: isUndefined,
  isDate: isDate,
  isFile: isFile,
  isBlob: isBlob,
  isFunction: isFunction,
  isStream: isStream,
  isURLSearchParams: isURLSearchParams,
  isStandardBrowserEnv: isStandardBrowserEnv,
  forEach: forEach,
  merge: merge,
  extend: extend,
  trim: trim
};


/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(51)
)

/* script */
__vue_exports__ = __webpack_require__(52)

/* template */
var __vue_template__ = __webpack_require__(53)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\header.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-867e5006"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _indexWeex = __webpack_require__(7);

var _indexWeex2 = _interopRequireDefault(_indexWeex);

var _index = __webpack_require__(0);

var _index2 = _interopRequireDefault(_index);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 18/03/22
 */
var BindEnv = {
  supportsEB: function supportsEB() {
    return _indexWeex2.default.isSupportBinding && !_index2.default.env.isWeb();
  },


  /**
   * 判断Android容器是否支持是否支持expressionBinding(处理方式很不一致)
   * @returns {boolean}
   */
  supportsEBForAndroid: function supportsEBForAndroid() {
    return _index2.default.env.isAndroid() && BindEnv.supportsEB();
  },


  /**
   * 判断IOS容器是否支持是否支持expressionBinding
   * @returns {boolean}
   */
  supportsEBForIos: function supportsEBForIos() {
    return _index2.default.env.isIOS() && BindEnv.supportsEB();
  }
};

exports.default = BindEnv;

/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
var __WEBPACK_AMD_DEFINE_RESULT__;

var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

;(function (fn) {
  if (( false ? "undefined" : _typeof2(exports)) === "object" && typeof module !== "undefined") {
    module.exports = fn();
  } else if (true) {
    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, module) {
      module.exports = fn();
    }).call(exports, __webpack_require__, exports, module),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  } else {
    var root;
    if (typeof window !== "undefined") {
      root = window;
    } else if (typeof self !== "undefined") {
      root = self;
    } else if (typeof global !== "undefined") {
      root = global;
    } else {
      // NOTICE: In JavaScript strict mode, this is null
      root = this;
    }
    root["index"] = fn();
  }
})(function () {
  return (/******/function (modules) {
      // webpackBootstrap
      /******/ // The module cache
      /******/var installedModules = {};
      /******/
      /******/ // The require function
      /******/function __webpack_require__(moduleId) {
        /******/
        /******/ // Check if module is in cache
        /******/if (installedModules[moduleId]) {
          /******/return installedModules[moduleId].exports;
          /******/
        }
        /******/ // Create a new module (and put it into the cache)
        /******/var module = installedModules[moduleId] = {
          /******/i: moduleId,
          /******/l: false,
          /******/exports: {}
          /******/ };
        /******/
        /******/ // Execute the module function
        /******/modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
        /******/
        /******/ // Flag the module as loaded
        /******/module.l = true;
        /******/
        /******/ // Return the exports of the module
        /******/return module.exports;
        /******/
      }
      /******/
      /******/
      /******/ // expose the modules object (__webpack_modules__)
      /******/__webpack_require__.m = modules;
      /******/
      /******/ // expose the module cache
      /******/__webpack_require__.c = installedModules;
      /******/
      /******/ // define getter function for harmony exports
      /******/__webpack_require__.d = function (exports, name, getter) {
        /******/if (!__webpack_require__.o(exports, name)) {
          /******/Object.defineProperty(exports, name, {
            /******/configurable: false,
            /******/enumerable: true,
            /******/get: getter
            /******/ });
          /******/
        }
        /******/
      };
      /******/
      /******/ // getDefaultExport function for compatibility with non-harmony modules
      /******/__webpack_require__.n = function (module) {
        /******/var getter = module && module.__esModule ?
        /******/function getDefault() {
          return module['default'];
        } :
        /******/function getModuleExports() {
          return module;
        };
        /******/__webpack_require__.d(getter, 'a', getter);
        /******/return getter;
        /******/
      };
      /******/
      /******/ // Object.prototype.hasOwnProperty.call
      /******/__webpack_require__.o = function (object, property) {
        return Object.prototype.hasOwnProperty.call(object, property);
      };
      /******/
      /******/ // __webpack_public_path__
      /******/__webpack_require__.p = "";
      /******/
      /******/ // Load entry module and return exports
      /******/return __webpack_require__(__webpack_require__.s = 0);
      /******/
    }(
    /************************************************************************/
    /******/[
    /* 0 */
    /***/function (module, exports, __webpack_require__) {

      "use strict";
      /**
       Copyright 2018 Alibaba Group
      
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at
      
       http://www.apache.org/licenses/LICENSE-2.0
      
       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
       */

      Object.defineProperty(exports, "__esModule", {
        value: true
      });

      var _typeof = typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol" ? function (obj) {
        return typeof obj === "undefined" ? "undefined" : _typeof2(obj);
      } : function (obj) {
        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof2(obj);
      };

      var _bindingxParser = __webpack_require__(1);

      var isWeb = false;
      var isWeex = true;

      function requireModule(moduleName) {
        try {
          if ((typeof weex === 'undefined' ? 'undefined' : _typeof(weex)) !== undefined && weex.requireModule) {
            // eslint-disable-line
            return weex.requireModule(moduleName); // eslint-disable-line
          }
        } catch (err) {}
        return window.require('@weex-module/' + moduleName);
      }

      var isSupportNewBinding = true;
      var isSupportBinding = true;
      var WeexBinding = void 0;
      var WebBinding = {};

      try {
        WeexBinding = requireModule('bindingx');
        isSupportNewBinding = true;
      } catch (e) {
        isSupportNewBinding = false;
      }
      if (!WeexBinding || !WeexBinding.bind) {
        try {
          WeexBinding = requireModule('binding');
          isSupportNewBinding = true;
        } catch (e) {
          isSupportNewBinding = false;
        }
      }
      isSupportNewBinding = !!(WeexBinding && WeexBinding.bind && WeexBinding.unbind);
      if (!isSupportNewBinding) {
        try {
          WeexBinding = requireModule('expressionBinding');
          isSupportBinding = true;
        } catch (err) {
          isSupportBinding = false;
        }
      }
      isSupportBinding = !!(WeexBinding && (WeexBinding.bind || WeexBinding.createBinding));

      function formatExpression(expression) {
        if (expression === undefined) return;
        try {
          expression = JSON.parse(expression);
        } catch (err) {}
        var resultExpression = {};
        if (typeof expression === 'string') {
          resultExpression.origin = expression;
        } else if (expression) {
          resultExpression.origin = expression.origin;
          resultExpression.transformed = expression.transformed;
        }
        if (!resultExpression.transformed && !resultExpression.origin) return;
        resultExpression.transformed = resultExpression.transformed || (0, _bindingxParser.parse)(resultExpression.origin);
        return resultExpression;
      }

      // 统一回调参数
      function fixCallback(callback) {
        return function () {
          var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

          if (typeof callback === 'function') {
            return callback({
              state: params.state === 'end' ? 'exit' : params.state,
              t: params.t !== undefined ? params.t : params.deltaT
            });
          }
        };
      }

      exports.default = {
        // 是否支持新版本的binding
        isSupportNewBinding: isSupportNewBinding,
        // 是否支持binding
        isSupportBinding: isSupportBinding,
        _bindingInstances: [],
        /**
         * 绑定
         * @param options 参数
         * @example
         {
           anchor:blockRef,
           eventType:'pan',
           props: [
           {
             element:blockRef,
             property:'transform.translateX',
             expression:{
               origin:"x+1",
               transformed:"{\"type\":\"+\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"NumericLiteral\",\"value\":1}]}"
             }
           }
          ]
         }
         */
        bind: function bind(options) {
          var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};

          if (!options) {
            throw new Error('should pass options for binding');
          }

          options.exitExpression = formatExpression(options.exitExpression);

          if (options.props) {
            options.props.forEach(function (prop) {
              prop.expression = formatExpression(prop.expression);
            });
          }

          if (WeexBinding && isSupportBinding) {
            if (isSupportNewBinding) {
              return WeexBinding.bind(options, options && options.eventType === 'timing' ? fixCallback(callback) : callback);
            } else {
              WeexBinding.enableBinding(options.anchor, options.eventType);
              // 处理expression的参数格式
              var expressionArgs = options.props.map(function (prop) {
                return {
                  element: prop.element,
                  property: prop.property,
                  expression: prop.expression.transformed
                };
              });
              WeexBinding.createBinding(options.anchor, options.eventType, '', expressionArgs, callback);
            }
          }
        },

        /**
         *  @param {object} options
         *  @example
         *  {eventType:'pan',
         *   token:self.gesToken}
         */
        unbind: function unbind(options) {
          if (!options) {
            throw new Error('should pass options for binding');
          }

          if (WeexBinding && isSupportBinding) {
            if (isSupportNewBinding) {
              return WeexBinding.unbind(options);
            } else {
              return WeexBinding.disableBinding(options.anchor, options.eventType);
            }
          }
        },
        unbindAll: function unbindAll() {
          if (WeexBinding && isSupportBinding) {
            if (isSupportNewBinding) {
              return WeexBinding.unbindAll();
            } else {
              return WeexBinding.disableAll();
            }
          }
        },
        prepare: function prepare(options) {
          if (WeexBinding && isSupportBinding) {
            if (isSupportNewBinding) {
              return WeexBinding.prepare(options);
            } else {
              return WeexBinding.enableBinding(options.anchor, options.eventType);
            }
          }
        },
        getComputedStyle: function getComputedStyle(el) {
          if (isSupportNewBinding) {
            return WeexBinding.getComputedStyle(el);
          } else {
            return {};
          }
        }
      };
      module.exports = exports['default'];

      /***/
    },
    /* 1 */
    /***/function (module, exports, __webpack_require__) {

      "use strict";

      module.exports = __webpack_require__(2);

      /***/
    },
    /* 2 */
    /***/function (module, exports, __webpack_require__) {

      "use strict";

      var lex = {
        InputElementDiv: '<WhiteSpace>|<LineTerminator>|<ReservedWord>|<Identifier>|<NumericLiteral>|<Punctuator>|<StringLiteral>',
        InputElementRegExp: '<WhiteSpace>|<LineTerminator>|<ReservedWord>|<Identifier>|<NumericLiteral>|<Punctuator>|<StringLiteral>',
        ReservedWord: '<Keyword>|<NullLiteral>|<BooleanLiteral>',
        WhiteSpace: /[\t\v\f\u0020\u00A0\u1680\u180E\u2000-\u200A\u202F\u205f\u3000\uFEFF]/,
        LineTerminator: /[\n\r\u2028\u2029]/,
        Keyword: /new(?![_$a-zA-Z0-9])|void(?![_$a-zA-Z0-9])|delete(?![_$a-zA-Z0-9])|in(?![_$a-zA-Z0-9])|instanceof(?![_$a-zA-Z0-9])|typeof(?![_$a-zA-Z0-9])/,
        NullLiteral: /null(?![_$a-zA-Z0-9])/,
        BooleanLiteral: /(?:true|false)(?![_$a-zA-Z0-9])/,
        Identifier: /[_$a-zA-Z][_$a-zA-Z0-9]*/,
        Punctuator: /\/|=>|\*\*|>>>=|>>=|<<=|===|!==|>>>|<<|%=|\*=|-=|\+=|<=|>=|==|!=|\^=|\|=|\|\||&&|&=|>>|\+\+|--|\:|}|\*|&|\||\^|!|~|-|\+|\?|%|=|>|<|,|;|\.(?![0-9])|\]|\[|\)|\(|{/,
        DivPunctuator: /\/=|\//,
        NumericLiteral: /(?:0[xX][0-9a-fA-F]*|\.[0-9]+|(?:[1-9]+[0-9]*|0)(?:\.[0-9]*|\.)?)(?:[eE][+-]{0,1}[0-9]+)?(?![_$a-zA-Z0-9])/,
        StringLiteral: /"(?:[^"\n\\\r\u2028\u2029]|\\(?:['"\\bfnrtv\n\r\u2028\u2029]|\r\n)|\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}|\\[^0-9ux'"\\bfnrtv\n\\\r\u2028\u2029])*"|'(?:[^'\n\\\r\u2028\u2029]|\\(?:['"\\bfnrtv\n\r\u2028\u2029]|\r\n)|\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}|\\[^0-9ux'"\\bfnrtv\n\\\r\u2028\u2029])*'/,
        RegularExpressionLiteral: /\/(?:\[(?:\\[\s\S]|[^\]])*\]|[^*\/\\\n\r\u2028\u2029]|\\[^\n\r\u2028\u2029])(?:\[(?:\\[\s\S]|[^\]])*\]|[^\/\\\n\r\u2028\u2029]|\\[^\n\r\u2028\u2029])*\/[0-9a-zA-Z]*/
      };

      function XRegExp(xregexps, rootname, flag) {
        var expnames = [rootname];

        function buildRegExp(source) {
          var regexp = new RegExp();
          regexp.compile(source.replace(/<([^>]+)>/g, function (all, expname) {
            if (!xregexps[expname]) return '';
            expnames.push(expname);
            if (xregexps[expname] instanceof RegExp) return '(' + xregexps[expname].source + ')';
            return '(' + buildRegExp(xregexps[expname]).source + ')';
          }), flag);
          return regexp;
        }

        var regexp = buildRegExp(xregexps[rootname]);
        this.exec = function (string) {
          var matches = regexp.exec(string);
          if (matches == null) return null;
          var result = new String(matches[0]);
          for (var i = 0; i < expnames.length; i++) {
            if (matches[i]) result[expnames[i]] = matches[i];
          }return result;
        };
        Object.defineProperty(this, 'lastIndex', {
          'get': function get() {
            return regexp.lastIndex;
          },
          'set': function set(v) {
            regexp.lastIndex = v;
          }
        });
      }

      function LexicalParser() {
        var inputElementDiv = new XRegExp(lex, 'InputElementDiv', 'g');
        var inputElementRegExp = new XRegExp(lex, 'InputElementRegExp', 'g');
        var source;
        Object.defineProperty(this, 'source', {
          'get': function get() {
            return source;
          },
          'set': function set(v) {
            source = v;
            inputElementDiv.lastIndex = 0;
            inputElementRegExp.lastIndex = 0;
          }
        });
        this.reset = function () {
          inputElementDiv.lastIndex = 0;
          inputElementRegExp.lastIndex = 0;
        };
        this.getNextToken = function (useDiv) {
          var lastIndex = inputElementDiv.lastIndex;
          var inputElement;
          if (useDiv) inputElement = inputElementDiv;else inputElement = inputElementRegExp;
          var token = inputElement.exec(source);
          if (token && inputElement.lastIndex - lastIndex > token.length) {
            throw new SyntaxError('Unexpected token ILLEGAL');
          }
          inputElementDiv.lastIndex = inputElement.lastIndex;
          inputElementRegExp.lastIndex = inputElement.lastIndex;
          return token;
        };
      }

      var rules = {
        'IdentifierName': [['Identifier']],
        'Literal': [['NullLiteral'], ['BooleanLiteral'], ['NumericLiteral'], ['StringLiteral'], ['RegularExpressionLiteral']],
        'PrimaryExpression': [['Identifier'], ['Literal'], ['(', 'Expression', ')']],
        'CallExpression': [['PrimaryExpression', 'Arguments'], ['CallExpression', 'Arguments']],
        'Arguments': [['(', ')'], ['(', 'ArgumentList', ')']],
        'ArgumentList': [['ConditionalExpression'], ['ArgumentList', ',', 'ConditionalExpression']],
        'LeftHandSideExpression': [['PrimaryExpression'], ['CallExpression']],
        'UnaryExpression': [['LeftHandSideExpression'], ['void', 'UnaryExpression'], ['+', 'UnaryExpression'], ['-', 'UnaryExpression'], ['~', 'UnaryExpression'], ['!', 'UnaryExpression']],
        'ExponentiationExpression': [['UnaryExpression'], ['ExponentiationExpression', '**', 'UnaryExpression']],
        'MultiplicativeExpression': [['MultiplicativeExpression', '/', 'ExponentiationExpression'], ['ExponentiationExpression'], ['MultiplicativeExpression', '*', 'ExponentiationExpression'], ['MultiplicativeExpression', '%', 'ExponentiationExpression']],
        'AdditiveExpression': [['MultiplicativeExpression'], ['AdditiveExpression', '+', 'MultiplicativeExpression'], ['AdditiveExpression', '-', 'MultiplicativeExpression']],
        'ShiftExpression': [['AdditiveExpression'], ['ShiftExpression', '<<', 'AdditiveExpression'], ['ShiftExpression', '>>', 'AdditiveExpression'], ['ShiftExpression', '>>>', 'AdditiveExpression']],
        'RelationalExpression': [['ShiftExpression'], ['RelationalExpression', '<', 'ShiftExpression'], ['RelationalExpression', '>', 'ShiftExpression'], ['RelationalExpression', '<=', 'ShiftExpression'], ['RelationalExpression', '>=', 'ShiftExpression'], ['RelationalExpression', 'instanceof', 'ShiftExpression'], ['RelationalExpression', 'in', 'ShiftExpression']],
        'EqualityExpression': [['RelationalExpression'], ['EqualityExpression', '==', 'RelationalExpression'], ['EqualityExpression', '!=', 'RelationalExpression'], ['EqualityExpression', '===', 'RelationalExpression'], ['EqualityExpression', '!==', 'RelationalExpression']],
        'BitwiseANDExpression': [['EqualityExpression'], ['BitwiseANDExpression', '&', 'EqualityExpression']],
        'BitwiseXORExpression': [['BitwiseANDExpression'], ['BitwiseXORExpression', '^', 'BitwiseANDExpression']],
        'BitwiseORExpression': [['BitwiseXORExpression'], ['BitwiseORExpression', '|', 'BitwiseXORExpression']],
        'LogicalANDExpression': [['BitwiseORExpression'], ['LogicalANDExpression', '&&', 'BitwiseORExpression']],
        'LogicalORExpression': [['LogicalANDExpression'], ['LogicalORExpression', '||', 'LogicalANDExpression']],
        'ConditionalExpression': [['LogicalORExpression'], ['LogicalORExpression', '?', 'LogicalORExpression', ':', 'LogicalORExpression']],
        'Expression': [['ConditionalExpression'], ['Expression', ',', 'ConditionalExpression']],
        'Program': [['Expression']]

      };

      function _Symbol(symbolName, token) {
        this.name = symbolName;
        this.token = token;
        this.childNodes = [];
        this.toString = function (indent) {
          if (!indent) indent = '';
          if (this.childNodes.length == 1) return this.childNodes[0].toString(indent);
          var str = indent + this.name + (this.token != undefined && this.name != this.token ? ':' + this.token : '') + '\n';
          for (var i = 0; i < this.childNodes.length; i++) {
            str += this.childNodes[i].toString(indent + '    ');
          }return str;
        };
      }

      function SyntacticalParser() {
        var currentRule;
        var root = {
          Program: '$'
        };
        var hash = {};

        function closureNode(node) {

          hash[JSON.stringify(node)] = node;

          var queue = Object.getOwnPropertyNames(node);
          while (queue.length) {
            var symbolName = queue.shift();
            if (!rules[symbolName]) continue;
            rules[symbolName].forEach(function (rule) {
              if (!node[rule[0]]) queue.push(rule[0]);
              var rulenode = node;
              var lastnode = null;
              rule.forEach(function (symbol) {
                if (!rulenode[symbol]) rulenode[symbol] = {};
                lastnode = rulenode;
                rulenode = rulenode[symbol];
              });
              if (node[symbolName].$div) rulenode.$div = true;
              rulenode.$reduce = symbolName;
              rulenode.$count = rule.length;
            });
          }

          for (var p in node) {
            if (_typeof2(node[p]) != 'object' || p.charAt(0) == '$' || node[p].$closure) continue;
            if (hash[JSON.stringify(node[p])]) node[p] = hash[JSON.stringify(node[p])];else {
              closureNode(node[p]);
            }
          }
          node.$closure = true;
        }

        closureNode(root);
        var symbolStack = [];
        var statusStack = [root];
        var current = root;
        this.insertSymbol = function insertSymbol(symbol, haveLineTerminator) {
          while (!current[symbol.name] && current.$reduce) {
            var count = current.$count;
            var newsymbol = new _Symbol(current.$reduce);
            while (count--) {
              newsymbol.childNodes.push(symbolStack.pop()), statusStack.pop();
            }current = statusStack[statusStack.length - 1];
            this.insertSymbol(newsymbol);
          }
          current = current[symbol.name];
          symbolStack.push(symbol), statusStack.push(current);
          if (!current) throw new Error();
          return current.$div;
        };
        this.reset = function () {
          current = root;
          symbolStack = [];
          statusStack = [root];
        };
        Object.defineProperty(this, 'grammarTree', {
          'get': function get() {
            try {
              while (current.$reduce) {
                var count = current.$count;
                var newsymbol = new _Symbol(current.$reduce);
                while (count--) {
                  newsymbol.childNodes.push(symbolStack.pop()), statusStack.pop();
                }current = statusStack[statusStack.length - 1];
                this.insertSymbol(newsymbol);
              }
              if (symbolStack.length > 0 && current[';']) {
                this.insertSymbol(new _Symbol(';', ';'));
                return this.grammarTree;
              }
              if (symbolStack.length != 1 || symbolStack[0].name != 'Program') throw new Error();
            } catch (e) {
              throw new SyntaxError('Unexpected end of input');
            }
            return symbolStack[0];
          }
        });
      }

      function Parser() {
        this.lexicalParser = new LexicalParser();
        this.syntacticalParser = new SyntacticalParser();
        var terminalSymbols = ['NullLiteral', 'BooleanLiteral', 'NumericLiteral', 'StringLiteral', 'RegularExpressionLiteral', 'Identifier', '**', '=>', '{', '}', '(', ')', '[', ']', '.', ';', ',', '<', '>', '<=', '>=', '==', '!=', '===', '!==', '+', '-', '*', '%', '++', '--', '<<', '>>', '>>>', '&', '|', '^', '!', '~', '&&', '||', '?', ':', '=', '+=', '-=', '*=', '%=', '<<=', '>>=', '>>>=', '&=', '|=', '^=', '/', '/=', 'instanceof', 'typeof', 'new', 'void', 'debugger', 'this', 'delete', 'in'];
        var terminalSymbolIndex = {};
        terminalSymbols.forEach(function (e) {
          Object.defineProperty(terminalSymbolIndex, e, {});
        });
        this.reset = function () {
          this.lexicalParser.reset();
          this.syntacticalParser.reset();
        };
        this.parse = function (source, onInputElement) {
          var _this = this;

          var token;
          var haveLineTerminator = false;
          this.lexicalParser.source = source;
          var useDiv = false;
          while (token = this.lexicalParser.getNextToken(useDiv)) {
            if (onInputElement) onInputElement(token);
            try {
              if (Object.getOwnPropertyNames(token).some(function (e) {
                if (terminalSymbolIndex.hasOwnProperty(e)) {
                  useDiv = _this.syntacticalParser.insertSymbol(new _Symbol(e, token), haveLineTerminator);
                  haveLineTerminator = false;
                  return true;
                } else return false;
              })) continue;
              if ((token.Keyword || token.Punctuator || token.DivPunctuator) && terminalSymbolIndex.hasOwnProperty(token.toString())) {
                useDiv = this.syntacticalParser.insertSymbol(new _Symbol(token.toString(), token), haveLineTerminator);
              }
            } catch (e) {
              throw new SyntaxError('Unexpected token ' + token);
            }
          }
          return this.syntacticalParser.grammarTree;
        };
      }

      var parser = new Parser();

      function JavaScriptExpression(text) {
        parser.reset();
        this.tree = parser.parse(text);
        this.paths = [];
        var context = Object.create(null);
        var me = this;
        var pathIndex = Object.create(null);
        this.isSimple;
        this.isConst;
        walk(this.tree);
        checkSimple(this.tree);
        if (this.paths.length === 0) {
          this.isConst = true;
        }
        this.setter = function (path) {
          var curr = context;
          for (var i = 0; i < path.length - 1; i++) {
            if (!curr[path[i]]) curr[path[i]] = Object.create(null);
            curr = curr[path[i]];
          }
          return {
            isCompleted: function isCompleted() {
              for (var p in pathIndex) {
                if (!pathIndex[p]) return false;
              }return true;
            },
            set: function set(value) {
              if (!pathIndex[path.join('.')]) {
                pathIndex[path.join('.')] = true;
              }
              curr[path[i]] = value;
              if (this.isCompleted()) {
                return me.exec();
              } else {
                return undefined;
              }
            }
          };
        };

        this.valueOf = this.exec = function () {
          try {
            return function () {
              return eval(text);
            }.call(context);
          } catch (e) {}
        };

        function checkSimple(symbol) {

          var curr = symbol;
          while (curr.childNodes.length <= 1 && curr.name !== 'MemberExpression') {
            curr = curr.childNodes[0];
          }
          // TODO: need to point out "[……]"
          if (curr.name === 'MemberExpression') {
            me.isSimple = true;
          } else {
            me.isSimple = false;
          }
        }

        function walk(symbol) {
          if (symbol.name === 'CallExpression' && symbol.childNodes[symbol.childNodes.length - 1].name !== 'CallExpression') {
            var path = getPath(symbol.childNodes[1]);
            walk(symbol.childNodes[0]);
          } else if (symbol.name === 'NewExpression' && symbol.childNodes.length === 1) {
            var path = getPath(symbol.childNodes[0]);
          } else if (symbol.name === 'MemberExpression' && symbol.childNodes.length === 1) {
            var path = getPath(symbol);
          } else {
            for (var i = 0; i < symbol.childNodes.length; i++) {
              walk(symbol.childNodes[i]);
            }
          }
        }

        function getPath(symbol) {
          // [["PrimaryExpression"], ["MemberExpression", "[", "Expression", "]"], ["MemberExpression", ".", "IdentifierName"], ["new", "MemberExpression", "Arguments"]],

          if (symbol.childNodes[0].name === 'IdentifierName') {
            // MemberExpression : MemberExpression "." IdentifierName
            var path = getPath(symbol.childNodes[2]);
            if (path) path = path.concat(symbol.childNodes[0].childNodes[0].token.toString());
            createPath(path);
            return path;
          } else if (symbol.childNodes[0].name === 'PrimaryExpression') {
            // MemberExpression : PrimaryExpression
            if (symbol.childNodes[0].childNodes[0].name === 'Identifier') {
              var path = [symbol.childNodes[0].childNodes[0].token.toString()];
              createPath(path);
              return path;
            } else {
              return null;
            }
          } else if (symbol.childNodes[0].name === ']') {
            // MemberExpression : MemberExpression "[" Expression "]"
            getPath(symbol.childNodes[3]);
            walk(symbol.childNodes[1]);
            return null;
          } else if (symbol.childNodes[0].name === 'Arguments') {
            // MemberExpression : "new" MemberExpression Arguments
            walk(symbol.childNodes[0]);
            walk(symbol.childNodes[1]);
            return null;
          } else {
            for (var i = 0; i < symbol.childNodes.length; i++) {
              walk(symbol.childNodes[i]);
            }
          }
        }

        function createPath(path) {
          var curr = context;
          for (var i = 0; i < path.length - 1; i++) {
            if (!curr[path[i]]) curr[path[i]] = Object.create(null);
            curr = curr[path[i]];
          }
          me.paths.push(path);
          pathIndex[path.join('.')] = false;
        }
      }

      function visit(tree) {
        var childNodes = tree.childNodes.slice().reverse();
        var children = childNodes.filter(function (e) {
          return !e.token || !e.token.Punctuator;
        });
        if (tree.name === 'UnaryExpression') {
          // negative number support
          if (childNodes.length === 2 && childNodes[0].name === '-' && children.length === 1) {
            var res = visit(children[0]);
            res.value = -res.value;
            return res;
          }
        }

        if (tree.name === 'Arguments') {
          var argumentList = [];
          var listNode = children[0];
          while (listNode) {
            if (listNode.childNodes.length === 3) {
              argumentList.unshift(listNode.childNodes[0]);
              listNode = listNode.childNodes[2];
            }
            if (listNode.childNodes.length === 1) {
              argumentList.unshift(listNode.childNodes[0]);
              listNode = null;
            }
          }
          return {
            type: 'Arguments',
            children: argumentList.map(function (e) {
              return visit(e);
            })
          };
        }

        if (children && children.length === 1) {
          var res = visit(children[0]);
          return res;
        }

        if (tree.token && ['NullLiteral', 'BooleanLiteral', 'NumericLiteral', 'StringLiteral', 'Identifier'].some(function (e) {
          return tree.token[e];
        })) {
          var type = Object.keys(tree.token).filter(function (e) {
            return e.match(/Literal/) || e.match(/Identifier/);
          })[0];
          var value = {
            'NullLiteral': null,
            'BooleanLiteral': Boolean(tree.token),
            'NumericLiteral': Number(tree.token),
            'StringLiteral': tree.token,
            'Identifier': tree.token
          }[type];

          return {
            type: type,
            value: value
          };
        }

        if (tree.name === 'CallExpression') return {
          type: 'CallExpression',
          children: [visit(childNodes[0]), visit(childNodes[1])]
        };

        return {
          type: childNodes.filter(function (e) {
            return e.token && e.token.Punctuator;
          })[0].name,
          children: childNodes.filter(function (e) {
            return !e.token || !e.token.Punctuator;
          }).map(function (e) {
            return visit(e);
          })
        };
      }

      function parse(originExp) {
        var exp = new JavaScriptExpression(originExp);
        return JSON.stringify(visit(exp.tree), null);
      }

      module.exports = {
        parse: parse
      };

      /***/
    }]
    /******/)
  );
});;

/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(112);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);
var normalizeHeaderName = __webpack_require__(31);

var DEFAULT_CONTENT_TYPE = {
  'Content-Type': 'application/x-www-form-urlencoded'
};

function setContentTypeIfUnset(headers, value) {
  if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
    headers['Content-Type'] = value;
  }
}

function getDefaultAdapter() {
  var adapter;
  if (typeof XMLHttpRequest !== 'undefined') {
    // For browsers use XHR adapter
    adapter = __webpack_require__(13);
  } else if (typeof process !== 'undefined') {
    // For node use HTTP adapter
    adapter = __webpack_require__(13);
  }
  return adapter;
}

var defaults = {
  adapter: getDefaultAdapter(),

  transformRequest: [function transformRequest(data, headers) {
    normalizeHeaderName(headers, 'Content-Type');
    if (utils.isFormData(data) ||
      utils.isArrayBuffer(data) ||
      utils.isBuffer(data) ||
      utils.isStream(data) ||
      utils.isFile(data) ||
      utils.isBlob(data)
    ) {
      return data;
    }
    if (utils.isArrayBufferView(data)) {
      return data.buffer;
    }
    if (utils.isURLSearchParams(data)) {
      setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
      return data.toString();
    }
    if (utils.isObject(data)) {
      setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
      return JSON.stringify(data);
    }
    return data;
  }],

  transformResponse: [function transformResponse(data) {
    /*eslint no-param-reassign:0*/
    if (typeof data === 'string') {
      try {
        data = JSON.parse(data);
      } catch (e) { /* Ignore */ }
    }
    return data;
  }],

  /**
   * A timeout in milliseconds to abort a request. If set to 0 (default) a
   * timeout is not created.
   */
  timeout: 0,

  xsrfCookieName: 'XSRF-TOKEN',
  xsrfHeaderName: 'X-XSRF-TOKEN',

  maxContentLength: -1,

  validateStatus: function validateStatus(status) {
    return status >= 200 && status < 300;
  }
};

defaults.headers = {
  common: {
    'Accept': 'application/json, text/plain, */*'
  }
};

utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
  defaults.headers[method] = {};
});

utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
});

module.exports = defaults;


/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(64);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(227)
)

/* script */
__vue_exports__ = __webpack_require__(228)

/* template */
var __vue_template__ = __webpack_require__(229)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-rich-text\\wxc-rich-text-text.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-7cb75ac2"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


module.exports = function bind(fn, thisArg) {
  return function wrap() {
    var args = new Array(arguments.length);
    for (var i = 0; i < args.length; i++) {
      args[i] = arguments[i];
    }
    return fn.apply(thisArg, args);
  };
};


/***/ }),
/* 13 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);
var settle = __webpack_require__(32);
var buildURL = __webpack_require__(34);
var parseHeaders = __webpack_require__(35);
var isURLSameOrigin = __webpack_require__(36);
var createError = __webpack_require__(14);
var btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || __webpack_require__(37);

module.exports = function xhrAdapter(config) {
  return new Promise(function dispatchXhrRequest(resolve, reject) {
    var requestData = config.data;
    var requestHeaders = config.headers;

    if (utils.isFormData(requestData)) {
      delete requestHeaders['Content-Type']; // Let the browser set it
    }

    var request = new XMLHttpRequest();
    var loadEvent = 'onreadystatechange';
    var xDomain = false;

    // For IE 8/9 CORS support
    // Only supports POST and GET calls and doesn't returns the response headers.
    // DON'T do this for testing b/c XMLHttpRequest is mocked, not XDomainRequest.
    if ("development" !== 'test' &&
        typeof window !== 'undefined' &&
        window.XDomainRequest && !('withCredentials' in request) &&
        !isURLSameOrigin(config.url)) {
      request = new window.XDomainRequest();
      loadEvent = 'onload';
      xDomain = true;
      request.onprogress = function handleProgress() {};
      request.ontimeout = function handleTimeout() {};
    }

    // HTTP basic authentication
    if (config.auth) {
      var username = config.auth.username || '';
      var password = config.auth.password || '';
      requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
    }

    request.open(config.method.toUpperCase(), buildURL(config.url, config.params, config.paramsSerializer), true);

    // Set the request timeout in MS
    request.timeout = config.timeout;

    // Listen for ready state
    request[loadEvent] = function handleLoad() {
      if (!request || (request.readyState !== 4 && !xDomain)) {
        return;
      }

      // The request errored out and we didn't get a response, this will be
      // handled by onerror instead
      // With one exception: request that using file: protocol, most browsers
      // will return status as 0 even though it's a successful request
      if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
        return;
      }

      // Prepare the response
      var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
      var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
      var response = {
        data: responseData,
        // IE sends 1223 instead of 204 (https://github.com/axios/axios/issues/201)
        status: request.status === 1223 ? 204 : request.status,
        statusText: request.status === 1223 ? 'No Content' : request.statusText,
        headers: responseHeaders,
        config: config,
        request: request
      };

      settle(resolve, reject, response);

      // Clean up request
      request = null;
    };

    // Handle low level network errors
    request.onerror = function handleError() {
      // Real errors are hidden from us by the browser
      // onerror should only fire if it's a network error
      reject(createError('Network Error', config, null, request));

      // Clean up request
      request = null;
    };

    // Handle timeout
    request.ontimeout = function handleTimeout() {
      reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED',
        request));

      // Clean up request
      request = null;
    };

    // Add xsrf header
    // This is only done if running in a standard browser environment.
    // Specifically not if we're in a web worker, or react-native.
    if (utils.isStandardBrowserEnv()) {
      var cookies = __webpack_require__(38);

      // Add xsrf header
      var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ?
          cookies.read(config.xsrfCookieName) :
          undefined;

      if (xsrfValue) {
        requestHeaders[config.xsrfHeaderName] = xsrfValue;
      }
    }

    // Add headers to the request
    if ('setRequestHeader' in request) {
      utils.forEach(requestHeaders, function setRequestHeader(val, key) {
        if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
          // Remove Content-Type if data is undefined
          delete requestHeaders[key];
        } else {
          // Otherwise add header to the request
          request.setRequestHeader(key, val);
        }
      });
    }

    // Add withCredentials to request if needed
    if (config.withCredentials) {
      request.withCredentials = true;
    }

    // Add responseType to request if needed
    if (config.responseType) {
      try {
        request.responseType = config.responseType;
      } catch (e) {
        // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
        // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.
        if (config.responseType !== 'json') {
          throw e;
        }
      }
    }

    // Handle progress if needed
    if (typeof config.onDownloadProgress === 'function') {
      request.addEventListener('progress', config.onDownloadProgress);
    }

    // Not all browsers support upload events
    if (typeof config.onUploadProgress === 'function' && request.upload) {
      request.upload.addEventListener('progress', config.onUploadProgress);
    }

    if (config.cancelToken) {
      // Handle cancellation
      config.cancelToken.promise.then(function onCanceled(cancel) {
        if (!request) {
          return;
        }

        request.abort();
        reject(cancel);
        // Clean up request
        request = null;
      });
    }

    if (requestData === undefined) {
      requestData = null;
    }

    // Send the request
    request.send(requestData);
  });
};


/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var enhanceError = __webpack_require__(33);

/**
 * Create an Error with the specified message, config, error code, request and response.
 *
 * @param {string} message The error message.
 * @param {Object} config The config.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 * @returns {Error} The created error.
 */
module.exports = function createError(message, config, code, request, response) {
  var error = new Error(message);
  return enhanceError(error, config, code, request, response);
};


/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


module.exports = function isCancel(value) {
  return !!(value && value.__CANCEL__);
};


/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * A `Cancel` is an object that is thrown when an operation is canceled.
 *
 * @class
 * @param {string=} message The message.
 */
function Cancel(message) {
  this.message = message;
}

Cancel.prototype.toString = function toString() {
  return 'Cancel' + (this.message ? ': ' + this.message : '');
};

Cancel.prototype.__CANCEL__ = true;

module.exports = Cancel;


/***/ }),
/* 17 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(69)
)

/* script */
__vue_exports__ = __webpack_require__(70)

/* template */
var __vue_template__ = __webpack_require__(72)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-checkbox\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-30c69e5a"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 18 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(87);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 19 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(92);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 20 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(97);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(147);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 22 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * Created by Tw93 on 2016/10/29.
 */

var GIF = exports.GIF = 'https://img.alicdn.com/tfs/TB1aks3PpXXXXcXXFXXXXXXXXXX-150-150.gif';
var BLACK_GIF = exports.BLACK_GIF = 'https://img.alicdn.com/tfs/TB1Ep_9NVXXXXb8XVXXXXXXXXXX-74-74.gif';
var PART = exports.PART = 'https://gtms02.alicdn.com/tfs/TB1y4QbSXXXXXbgapXXXXXXXXXX-50-50.gif';

/***/ }),
/* 23 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(169);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 24 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(237)
)

/* script */
__vue_exports__ = __webpack_require__(238)

/* template */
var __vue_template__ = __webpack_require__(239)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-rich-text\\wxc-rich-text-tag.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-2fe9c898"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 25 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.XPicker = undefined;

var _index = __webpack_require__(281);

var _index2 = _interopRequireDefault(_index);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.XPicker = _index2.default;

/***/ }),
/* 26 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _axios = __webpack_require__(27);

var _axios2 = _interopRequireDefault(_axios);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//Vue.prototype.$axios = axios;
//axios.defaults.baseURL = 'https://diancan.deitylamp.com/diancan/2.0'


//Vue.prototype.mixins = mixins
/* weex initialized here, please do not move this line */
var _require = __webpack_require__(46),
    router = _require.router; /* global Vue */


var App = __webpack_require__(366);
/* eslint-disable no-new */
new Vue(Vue.util.extend({
    el: '#root',
    router: router
}, App));
router.push('/');

/***/ }),
/* 27 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__(28);

/***/ }),
/* 28 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);
var bind = __webpack_require__(12);
var Axios = __webpack_require__(30);
var defaults = __webpack_require__(9);

/**
 * Create an instance of Axios
 *
 * @param {Object} defaultConfig The default config for the instance
 * @return {Axios} A new instance of Axios
 */
function createInstance(defaultConfig) {
  var context = new Axios(defaultConfig);
  var instance = bind(Axios.prototype.request, context);

  // Copy axios.prototype to instance
  utils.extend(instance, Axios.prototype, context);

  // Copy context to instance
  utils.extend(instance, context);

  return instance;
}

// Create the default instance to be exported
var axios = createInstance(defaults);

// Expose Axios class to allow class inheritance
axios.Axios = Axios;

// Factory for creating new instances
axios.create = function create(instanceConfig) {
  return createInstance(utils.merge(defaults, instanceConfig));
};

// Expose Cancel & CancelToken
axios.Cancel = __webpack_require__(16);
axios.CancelToken = __webpack_require__(44);
axios.isCancel = __webpack_require__(15);

// Expose all/spread
axios.all = function all(promises) {
  return Promise.all(promises);
};
axios.spread = __webpack_require__(45);

module.exports = axios;

// Allow use of default import syntax in TypeScript
module.exports.default = axios;


/***/ }),
/* 29 */
/***/ (function(module, exports) {

/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */

// The _isBuffer check is for Safari 5-7 support, because it's missing
// Object.prototype.constructor. Remove this eventually
module.exports = function (obj) {
  return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
}

function isBuffer (obj) {
  return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
}

// For Node v0.10 support. Remove this eventually.
function isSlowBuffer (obj) {
  return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
}


/***/ }),
/* 30 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var defaults = __webpack_require__(9);
var utils = __webpack_require__(4);
var InterceptorManager = __webpack_require__(39);
var dispatchRequest = __webpack_require__(40);

/**
 * Create a new instance of Axios
 *
 * @param {Object} instanceConfig The default config for the instance
 */
function Axios(instanceConfig) {
  this.defaults = instanceConfig;
  this.interceptors = {
    request: new InterceptorManager(),
    response: new InterceptorManager()
  };
}

/**
 * Dispatch a request
 *
 * @param {Object} config The config specific for this request (merged with this.defaults)
 */
Axios.prototype.request = function request(config) {
  /*eslint no-param-reassign:0*/
  // Allow for axios('example/url'[, config]) a la fetch API
  if (typeof config === 'string') {
    config = utils.merge({
      url: arguments[0]
    }, arguments[1]);
  }

  config = utils.merge(defaults, {method: 'get'}, this.defaults, config);
  config.method = config.method.toLowerCase();

  // Hook up interceptors middleware
  var chain = [dispatchRequest, undefined];
  var promise = Promise.resolve(config);

  this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
    chain.unshift(interceptor.fulfilled, interceptor.rejected);
  });

  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
    chain.push(interceptor.fulfilled, interceptor.rejected);
  });

  while (chain.length) {
    promise = promise.then(chain.shift(), chain.shift());
  }

  return promise;
};

// Provide aliases for supported request methods
utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
  /*eslint func-names:0*/
  Axios.prototype[method] = function(url, config) {
    return this.request(utils.merge(config || {}, {
      method: method,
      url: url
    }));
  };
});

utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  /*eslint func-names:0*/
  Axios.prototype[method] = function(url, data, config) {
    return this.request(utils.merge(config || {}, {
      method: method,
      url: url,
      data: data
    }));
  };
});

module.exports = Axios;


/***/ }),
/* 31 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

module.exports = function normalizeHeaderName(headers, normalizedName) {
  utils.forEach(headers, function processHeader(value, name) {
    if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
      headers[normalizedName] = value;
      delete headers[name];
    }
  });
};


/***/ }),
/* 32 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var createError = __webpack_require__(14);

/**
 * Resolve or reject a Promise based on response status.
 *
 * @param {Function} resolve A function that resolves the promise.
 * @param {Function} reject A function that rejects the promise.
 * @param {object} response The response.
 */
module.exports = function settle(resolve, reject, response) {
  var validateStatus = response.config.validateStatus;
  // Note: status is not exposed by XDomainRequest
  if (!response.status || !validateStatus || validateStatus(response.status)) {
    resolve(response);
  } else {
    reject(createError(
      'Request failed with status code ' + response.status,
      response.config,
      null,
      response.request,
      response
    ));
  }
};


/***/ }),
/* 33 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Update an Error with the specified config, error code, and response.
 *
 * @param {Error} error The error to update.
 * @param {Object} config The config.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 * @returns {Error} The error.
 */
module.exports = function enhanceError(error, config, code, request, response) {
  error.config = config;
  if (code) {
    error.code = code;
  }
  error.request = request;
  error.response = response;
  return error;
};


/***/ }),
/* 34 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

function encode(val) {
  return encodeURIComponent(val).
    replace(/%40/gi, '@').
    replace(/%3A/gi, ':').
    replace(/%24/g, '$').
    replace(/%2C/gi, ',').
    replace(/%20/g, '+').
    replace(/%5B/gi, '[').
    replace(/%5D/gi, ']');
}

/**
 * Build a URL by appending params to the end
 *
 * @param {string} url The base of the url (e.g., http://www.google.com)
 * @param {object} [params] The params to be appended
 * @returns {string} The formatted url
 */
module.exports = function buildURL(url, params, paramsSerializer) {
  /*eslint no-param-reassign:0*/
  if (!params) {
    return url;
  }

  var serializedParams;
  if (paramsSerializer) {
    serializedParams = paramsSerializer(params);
  } else if (utils.isURLSearchParams(params)) {
    serializedParams = params.toString();
  } else {
    var parts = [];

    utils.forEach(params, function serialize(val, key) {
      if (val === null || typeof val === 'undefined') {
        return;
      }

      if (utils.isArray(val)) {
        key = key + '[]';
      } else {
        val = [val];
      }

      utils.forEach(val, function parseValue(v) {
        if (utils.isDate(v)) {
          v = v.toISOString();
        } else if (utils.isObject(v)) {
          v = JSON.stringify(v);
        }
        parts.push(encode(key) + '=' + encode(v));
      });
    });

    serializedParams = parts.join('&');
  }

  if (serializedParams) {
    url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  }

  return url;
};


/***/ }),
/* 35 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

// Headers whose duplicates are ignored by node
// c.f. https://nodejs.org/api/http.html#http_message_headers
var ignoreDuplicateOf = [
  'age', 'authorization', 'content-length', 'content-type', 'etag',
  'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
  'last-modified', 'location', 'max-forwards', 'proxy-authorization',
  'referer', 'retry-after', 'user-agent'
];

/**
 * Parse headers into an object
 *
 * ```
 * Date: Wed, 27 Aug 2014 08:58:49 GMT
 * Content-Type: application/json
 * Connection: keep-alive
 * Transfer-Encoding: chunked
 * ```
 *
 * @param {String} headers Headers needing to be parsed
 * @returns {Object} Headers parsed into an object
 */
module.exports = function parseHeaders(headers) {
  var parsed = {};
  var key;
  var val;
  var i;

  if (!headers) { return parsed; }

  utils.forEach(headers.split('\n'), function parser(line) {
    i = line.indexOf(':');
    key = utils.trim(line.substr(0, i)).toLowerCase();
    val = utils.trim(line.substr(i + 1));

    if (key) {
      if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
        return;
      }
      if (key === 'set-cookie') {
        parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
      } else {
        parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
      }
    }
  });

  return parsed;
};


/***/ }),
/* 36 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

module.exports = (
  utils.isStandardBrowserEnv() ?

  // Standard browser envs have full support of the APIs needed to test
  // whether the request URL is of the same origin as current location.
  (function standardBrowserEnv() {
    var msie = /(msie|trident)/i.test(navigator.userAgent);
    var urlParsingNode = document.createElement('a');
    var originURL;

    /**
    * Parse a URL to discover it's components
    *
    * @param {String} url The URL to be parsed
    * @returns {Object}
    */
    function resolveURL(url) {
      var href = url;

      if (msie) {
        // IE needs attribute set twice to normalize properties
        urlParsingNode.setAttribute('href', href);
        href = urlParsingNode.href;
      }

      urlParsingNode.setAttribute('href', href);

      // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
      return {
        href: urlParsingNode.href,
        protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
        host: urlParsingNode.host,
        search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
        hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
        hostname: urlParsingNode.hostname,
        port: urlParsingNode.port,
        pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
                  urlParsingNode.pathname :
                  '/' + urlParsingNode.pathname
      };
    }

    originURL = resolveURL(window.location.href);

    /**
    * Determine if a URL shares the same origin as the current location
    *
    * @param {String} requestURL The URL to test
    * @returns {boolean} True if URL shares the same origin, otherwise false
    */
    return function isURLSameOrigin(requestURL) {
      var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
      return (parsed.protocol === originURL.protocol &&
            parsed.host === originURL.host);
    };
  })() :

  // Non standard browser envs (web workers, react-native) lack needed support.
  (function nonStandardBrowserEnv() {
    return function isURLSameOrigin() {
      return true;
    };
  })()
);


/***/ }),
/* 37 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js

var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';

function E() {
  this.message = 'String contains an invalid character';
}
E.prototype = new Error;
E.prototype.code = 5;
E.prototype.name = 'InvalidCharacterError';

function btoa(input) {
  var str = String(input);
  var output = '';
  for (
    // initialize result and counter
    var block, charCode, idx = 0, map = chars;
    // if the next str index does not exist:
    //   change the mapping table to "="
    //   check if d has no fractional digits
    str.charAt(idx | 0) || (map = '=', idx % 1);
    // "8 - idx % 1 * 8" generates the sequence 2, 4, 6, 8
    output += map.charAt(63 & block >> 8 - idx % 1 * 8)
  ) {
    charCode = str.charCodeAt(idx += 3 / 4);
    if (charCode > 0xFF) {
      throw new E();
    }
    block = block << 8 | charCode;
  }
  return output;
}

module.exports = btoa;


/***/ }),
/* 38 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

module.exports = (
  utils.isStandardBrowserEnv() ?

  // Standard browser envs support document.cookie
  (function standardBrowserEnv() {
    return {
      write: function write(name, value, expires, path, domain, secure) {
        var cookie = [];
        cookie.push(name + '=' + encodeURIComponent(value));

        if (utils.isNumber(expires)) {
          cookie.push('expires=' + new Date(expires).toGMTString());
        }

        if (utils.isString(path)) {
          cookie.push('path=' + path);
        }

        if (utils.isString(domain)) {
          cookie.push('domain=' + domain);
        }

        if (secure === true) {
          cookie.push('secure');
        }

        document.cookie = cookie.join('; ');
      },

      read: function read(name) {
        var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
        return (match ? decodeURIComponent(match[3]) : null);
      },

      remove: function remove(name) {
        this.write(name, '', Date.now() - 86400000);
      }
    };
  })() :

  // Non standard browser env (web workers, react-native) lack needed support.
  (function nonStandardBrowserEnv() {
    return {
      write: function write() {},
      read: function read() { return null; },
      remove: function remove() {}
    };
  })()
);


/***/ }),
/* 39 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

function InterceptorManager() {
  this.handlers = [];
}

/**
 * Add a new interceptor to the stack
 *
 * @param {Function} fulfilled The function to handle `then` for a `Promise`
 * @param {Function} rejected The function to handle `reject` for a `Promise`
 *
 * @return {Number} An ID used to remove interceptor later
 */
InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  this.handlers.push({
    fulfilled: fulfilled,
    rejected: rejected
  });
  return this.handlers.length - 1;
};

/**
 * Remove an interceptor from the stack
 *
 * @param {Number} id The ID that was returned by `use`
 */
InterceptorManager.prototype.eject = function eject(id) {
  if (this.handlers[id]) {
    this.handlers[id] = null;
  }
};

/**
 * Iterate over all the registered interceptors
 *
 * This method is particularly useful for skipping over any
 * interceptors that may have become `null` calling `eject`.
 *
 * @param {Function} fn The function to call for each interceptor
 */
InterceptorManager.prototype.forEach = function forEach(fn) {
  utils.forEach(this.handlers, function forEachHandler(h) {
    if (h !== null) {
      fn(h);
    }
  });
};

module.exports = InterceptorManager;


/***/ }),
/* 40 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);
var transformData = __webpack_require__(41);
var isCancel = __webpack_require__(15);
var defaults = __webpack_require__(9);
var isAbsoluteURL = __webpack_require__(42);
var combineURLs = __webpack_require__(43);

/**
 * Throws a `Cancel` if cancellation has been requested.
 */
function throwIfCancellationRequested(config) {
  if (config.cancelToken) {
    config.cancelToken.throwIfRequested();
  }
}

/**
 * Dispatch a request to the server using the configured adapter.
 *
 * @param {object} config The config that is to be used for the request
 * @returns {Promise} The Promise to be fulfilled
 */
module.exports = function dispatchRequest(config) {
  throwIfCancellationRequested(config);

  // Support baseURL config
  if (config.baseURL && !isAbsoluteURL(config.url)) {
    config.url = combineURLs(config.baseURL, config.url);
  }

  // Ensure headers exist
  config.headers = config.headers || {};

  // Transform request data
  config.data = transformData(
    config.data,
    config.headers,
    config.transformRequest
  );

  // Flatten headers
  config.headers = utils.merge(
    config.headers.common || {},
    config.headers[config.method] || {},
    config.headers || {}
  );

  utils.forEach(
    ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
    function cleanHeaderConfig(method) {
      delete config.headers[method];
    }
  );

  var adapter = config.adapter || defaults.adapter;

  return adapter(config).then(function onAdapterResolution(response) {
    throwIfCancellationRequested(config);

    // Transform response data
    response.data = transformData(
      response.data,
      response.headers,
      config.transformResponse
    );

    return response;
  }, function onAdapterRejection(reason) {
    if (!isCancel(reason)) {
      throwIfCancellationRequested(config);

      // Transform response data
      if (reason && reason.response) {
        reason.response.data = transformData(
          reason.response.data,
          reason.response.headers,
          config.transformResponse
        );
      }
    }

    return Promise.reject(reason);
  });
};


/***/ }),
/* 41 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(4);

/**
 * Transform the data for a request or a response
 *
 * @param {Object|String} data The data to be transformed
 * @param {Array} headers The headers for the request or response
 * @param {Array|Function} fns A single function or Array of functions
 * @returns {*} The resulting transformed data
 */
module.exports = function transformData(data, headers, fns) {
  /*eslint no-param-reassign:0*/
  utils.forEach(fns, function transform(fn) {
    data = fn(data, headers);
  });

  return data;
};


/***/ }),
/* 42 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Determines whether the specified URL is absolute
 *
 * @param {string} url The URL to test
 * @returns {boolean} True if the specified URL is absolute, otherwise false
 */
module.exports = function isAbsoluteURL(url) {
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  // by any combination of letters, digits, plus, period, or hyphen.
  return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
};


/***/ }),
/* 43 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Creates a new URL by combining the specified URLs
 *
 * @param {string} baseURL The base URL
 * @param {string} relativeURL The relative URL
 * @returns {string} The combined URL
 */
module.exports = function combineURLs(baseURL, relativeURL) {
  return relativeURL
    ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
    : baseURL;
};


/***/ }),
/* 44 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var Cancel = __webpack_require__(16);

/**
 * A `CancelToken` is an object that can be used to request cancellation of an operation.
 *
 * @class
 * @param {Function} executor The executor function.
 */
function CancelToken(executor) {
  if (typeof executor !== 'function') {
    throw new TypeError('executor must be a function.');
  }

  var resolvePromise;
  this.promise = new Promise(function promiseExecutor(resolve) {
    resolvePromise = resolve;
  });

  var token = this;
  executor(function cancel(message) {
    if (token.reason) {
      // Cancellation has already been requested
      return;
    }

    token.reason = new Cancel(message);
    resolvePromise(token.reason);
  });
}

/**
 * Throws a `Cancel` if cancellation has been requested.
 */
CancelToken.prototype.throwIfRequested = function throwIfRequested() {
  if (this.reason) {
    throw this.reason;
  }
};

/**
 * Returns an object that contains a new `CancelToken` and a function that, when called,
 * cancels the `CancelToken`.
 */
CancelToken.source = function source() {
  var cancel;
  var token = new CancelToken(function executor(c) {
    cancel = c;
  });
  return {
    token: token,
    cancel: cancel
  };
};

module.exports = CancelToken;


/***/ }),
/* 45 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Syntactic sugar for invoking a function and expanding an array for arguments.
 *
 * Common use case would be to use `Function.prototype.apply`.
 *
 *  ```js
 *  function f(x, y, z) {}
 *  var args = [1, 2, 3];
 *  f.apply(null, args);
 *  ```
 *
 * With `spread` this example can be re-written.
 *
 *  ```js
 *  spread(function(x, y, z) {})([1, 2, 3]);
 *  ```
 *
 * @param {Function} callback
 * @returns {Function}
 */
module.exports = function spread(callback) {
  return function wrap(arr) {
    return callback.apply(null, arr);
  };
};


/***/ }),
/* 46 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.router = undefined;

var _vueRouter = __webpack_require__(47);

var _vueRouter2 = _interopRequireDefault(_vueRouter);

var _applyShop = __webpack_require__(48);

var _applyShop2 = _interopRequireDefault(_applyShop);

var _applyStatus = __webpack_require__(298);

var _applyStatus2 = _interopRequireDefault(_applyStatus);

var _dishes = __webpack_require__(302);

var _dishes2 = _interopRequireDefault(_dishes);

var _dishesEditor = __webpack_require__(306);

var _dishesEditor2 = _interopRequireDefault(_dishesEditor);

var _dishesType = __webpack_require__(310);

var _dishesType2 = _interopRequireDefault(_dishesType);

var _eatDetail = __webpack_require__(314);

var _eatDetail2 = _interopRequireDefault(_eatDetail);

var _eatHome = __webpack_require__(318);

var _eatHome2 = _interopRequireDefault(_eatHome);

var _eatReserve = __webpack_require__(322);

var _eatReserve2 = _interopRequireDefault(_eatReserve);

var _eatSearch = __webpack_require__(326);

var _eatSearch2 = _interopRequireDefault(_eatSearch);

var _orderStatus = __webpack_require__(330);

var _orderStatus2 = _interopRequireDefault(_orderStatus);

var _salesRecords = __webpack_require__(334);

var _salesRecords2 = _interopRequireDefault(_salesRecords);

var _serveHome = __webpack_require__(338);

var _serveHome2 = _interopRequireDefault(_serveHome);

var _shop = __webpack_require__(342);

var _shop2 = _interopRequireDefault(_shop);

var _shopDetail = __webpack_require__(346);

var _shopDetail2 = _interopRequireDefault(_shopDetail);

var _shopManage = __webpack_require__(351);

var _shopManage2 = _interopRequireDefault(_shopManage);

var _shopOrder = __webpack_require__(355);

var _shopOrder2 = _interopRequireDefault(_shopOrder);

var _userOrder = __webpack_require__(359);

var _userOrder2 = _interopRequireDefault(_userOrder);

var _HelloWorld = __webpack_require__(363);

var _HelloWorld2 = _interopRequireDefault(_HelloWorld);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

Vue.use(_vueRouter2.default); /* global Vue */
var router = exports.router = new _vueRouter2.default({
  mode: 'history',
  routes: [{
    path: '/',
    name: 'eatHome',
    component: _eatHome2.default
  }, {
    path: '/serveHome',
    name: 'serveHome',
    component: _serveHome2.default
  }, {
    path: '/shopManage',
    name: 'shopManage',
    component: _shopManage2.default
  }, {
    path: '/HelloWorld',
    name: 'HelloWorld',
    component: _HelloWorld2.default
  }, {
    path: '/applyShop',
    name: 'applyShop',
    component: _applyShop2.default
  }, {
    path: '/applyStatus',
    name: 'applyStatus',
    component: _applyStatus2.default
  }, {
    path: '/dishes',
    name: 'dishes',
    component: _dishes2.default
  }, {
    path: '/dishesEditor',
    name: 'dishesEditor',
    component: _dishesEditor2.default
  }, {
    path: '/dishesType',
    name: 'dishesType',
    component: _dishesType2.default
  }, {
    path: '/eatDetail',
    name: 'eatDetail',
    component: _eatDetail2.default
  }, {
    path: '/eatReserve',
    name: 'eatReserve',
    component: _eatReserve2.default
  }, {
    path: '/eatSearch',
    name: 'eatSearch',
    component: _eatSearch2.default
  }, {
    path: '/orderStatus',
    name: 'orderStatus',
    component: _orderStatus2.default
  }, {
    path: '/salesRecords',
    name: 'salesRecords',
    component: _salesRecords2.default
  }, {
    path: '/shop',
    name: 'shop',
    component: _shop2.default
  }, {
    path: '/shopDetail',
    name: 'shopDetail',
    component: _shopDetail2.default
  }, {
    path: '/shopOrder',
    name: 'shopOrder',
    component: _shopOrder2.default
  }, {
    path: '/userOrder',
    name: 'userOrder',
    component: _userOrder2.default
  }]
});

/***/ }),
/* 47 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/*!
  * vue-router v3.0.2
  * (c) 2018 Evan You
  * @license MIT
  */
/*  */

function assert (condition, message) {
  if (!condition) {
    throw new Error(("[vue-router] " + message))
  }
}

function warn (condition, message) {
  if ("development" !== 'production' && !condition) {
    typeof console !== 'undefined' && console.warn(("[vue-router] " + message));
  }
}

function isError (err) {
  return Object.prototype.toString.call(err).indexOf('Error') > -1
}

function extend (a, b) {
  for (var key in b) {
    a[key] = b[key];
  }
  return a
}

var View = {
  name: 'RouterView',
  functional: true,
  props: {
    name: {
      type: String,
      default: 'default'
    }
  },
  render: function render (_, ref) {
    var props = ref.props;
    var children = ref.children;
    var parent = ref.parent;
    var data = ref.data;

    // used by devtools to display a router-view badge
    data.routerView = true;

    // directly use parent context's createElement() function
    // so that components rendered by router-view can resolve named slots
    var h = parent.$createElement;
    var name = props.name;
    var route = parent.$route;
    var cache = parent._routerViewCache || (parent._routerViewCache = {});

    // determine current view depth, also check to see if the tree
    // has been toggled inactive but kept-alive.
    var depth = 0;
    var inactive = false;
    while (parent && parent._routerRoot !== parent) {
      if (parent.$vnode && parent.$vnode.data.routerView) {
        depth++;
      }
      if (parent._inactive) {
        inactive = true;
      }
      parent = parent.$parent;
    }
    data.routerViewDepth = depth;

    // render previous view if the tree is inactive and kept-alive
    if (inactive) {
      return h(cache[name], data, children)
    }

    var matched = route.matched[depth];
    // render empty node if no matched route
    if (!matched) {
      cache[name] = null;
      return h()
    }

    var component = cache[name] = matched.components[name];

    // attach instance registration hook
    // this will be called in the instance's injected lifecycle hooks
    data.registerRouteInstance = function (vm, val) {
      // val could be undefined for unregistration
      var current = matched.instances[name];
      if (
        (val && current !== vm) ||
        (!val && current === vm)
      ) {
        matched.instances[name] = val;
      }
    }

    // also register instance in prepatch hook
    // in case the same component instance is reused across different routes
    ;(data.hook || (data.hook = {})).prepatch = function (_, vnode) {
      matched.instances[name] = vnode.componentInstance;
    };

    // resolve props
    var propsToPass = data.props = resolveProps(route, matched.props && matched.props[name]);
    if (propsToPass) {
      // clone to prevent mutation
      propsToPass = data.props = extend({}, propsToPass);
      // pass non-declared props as attrs
      var attrs = data.attrs = data.attrs || {};
      for (var key in propsToPass) {
        if (!component.props || !(key in component.props)) {
          attrs[key] = propsToPass[key];
          delete propsToPass[key];
        }
      }
    }

    return h(component, data, children)
  }
}

function resolveProps (route, config) {
  switch (typeof config) {
    case 'undefined':
      return
    case 'object':
      return config
    case 'function':
      return config(route)
    case 'boolean':
      return config ? route.params : undefined
    default:
      if (true) {
        warn(
          false,
          "props in \"" + (route.path) + "\" is a " + (typeof config) + ", " +
          "expecting an object, function or boolean."
        );
      }
  }
}

/*  */

var encodeReserveRE = /[!'()*]/g;
var encodeReserveReplacer = function (c) { return '%' + c.charCodeAt(0).toString(16); };
var commaRE = /%2C/g;

// fixed encodeURIComponent which is more conformant to RFC3986:
// - escapes [!'()*]
// - preserve commas
var encode = function (str) { return encodeURIComponent(str)
  .replace(encodeReserveRE, encodeReserveReplacer)
  .replace(commaRE, ','); };

var decode = decodeURIComponent;

function resolveQuery (
  query,
  extraQuery,
  _parseQuery
) {
  if ( extraQuery === void 0 ) extraQuery = {};

  var parse = _parseQuery || parseQuery;
  var parsedQuery;
  try {
    parsedQuery = parse(query || '');
  } catch (e) {
    "development" !== 'production' && warn(false, e.message);
    parsedQuery = {};
  }
  for (var key in extraQuery) {
    parsedQuery[key] = extraQuery[key];
  }
  return parsedQuery
}

function parseQuery (query) {
  var res = {};

  query = query.trim().replace(/^(\?|#|&)/, '');

  if (!query) {
    return res
  }

  query.split('&').forEach(function (param) {
    var parts = param.replace(/\+/g, ' ').split('=');
    var key = decode(parts.shift());
    var val = parts.length > 0
      ? decode(parts.join('='))
      : null;

    if (res[key] === undefined) {
      res[key] = val;
    } else if (Array.isArray(res[key])) {
      res[key].push(val);
    } else {
      res[key] = [res[key], val];
    }
  });

  return res
}

function stringifyQuery (obj) {
  var res = obj ? Object.keys(obj).map(function (key) {
    var val = obj[key];

    if (val === undefined) {
      return ''
    }

    if (val === null) {
      return encode(key)
    }

    if (Array.isArray(val)) {
      var result = [];
      val.forEach(function (val2) {
        if (val2 === undefined) {
          return
        }
        if (val2 === null) {
          result.push(encode(key));
        } else {
          result.push(encode(key) + '=' + encode(val2));
        }
      });
      return result.join('&')
    }

    return encode(key) + '=' + encode(val)
  }).filter(function (x) { return x.length > 0; }).join('&') : null;
  return res ? ("?" + res) : ''
}

/*  */

var trailingSlashRE = /\/?$/;

function createRoute (
  record,
  location,
  redirectedFrom,
  router
) {
  var stringifyQuery$$1 = router && router.options.stringifyQuery;

  var query = location.query || {};
  try {
    query = clone(query);
  } catch (e) {}

  var route = {
    name: location.name || (record && record.name),
    meta: (record && record.meta) || {},
    path: location.path || '/',
    hash: location.hash || '',
    query: query,
    params: location.params || {},
    fullPath: getFullPath(location, stringifyQuery$$1),
    matched: record ? formatMatch(record) : []
  };
  if (redirectedFrom) {
    route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery$$1);
  }
  return Object.freeze(route)
}

function clone (value) {
  if (Array.isArray(value)) {
    return value.map(clone)
  } else if (value && typeof value === 'object') {
    var res = {};
    for (var key in value) {
      res[key] = clone(value[key]);
    }
    return res
  } else {
    return value
  }
}

// the starting route that represents the initial state
var START = createRoute(null, {
  path: '/'
});

function formatMatch (record) {
  var res = [];
  while (record) {
    res.unshift(record);
    record = record.parent;
  }
  return res
}

function getFullPath (
  ref,
  _stringifyQuery
) {
  var path = ref.path;
  var query = ref.query; if ( query === void 0 ) query = {};
  var hash = ref.hash; if ( hash === void 0 ) hash = '';

  var stringify = _stringifyQuery || stringifyQuery;
  return (path || '/') + stringify(query) + hash
}

function isSameRoute (a, b) {
  if (b === START) {
    return a === b
  } else if (!b) {
    return false
  } else if (a.path && b.path) {
    return (
      a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') &&
      a.hash === b.hash &&
      isObjectEqual(a.query, b.query)
    )
  } else if (a.name && b.name) {
    return (
      a.name === b.name &&
      a.hash === b.hash &&
      isObjectEqual(a.query, b.query) &&
      isObjectEqual(a.params, b.params)
    )
  } else {
    return false
  }
}

function isObjectEqual (a, b) {
  if ( a === void 0 ) a = {};
  if ( b === void 0 ) b = {};

  // handle null value #1566
  if (!a || !b) { return a === b }
  var aKeys = Object.keys(a);
  var bKeys = Object.keys(b);
  if (aKeys.length !== bKeys.length) {
    return false
  }
  return aKeys.every(function (key) {
    var aVal = a[key];
    var bVal = b[key];
    // check nested equality
    if (typeof aVal === 'object' && typeof bVal === 'object') {
      return isObjectEqual(aVal, bVal)
    }
    return String(aVal) === String(bVal)
  })
}

function isIncludedRoute (current, target) {
  return (
    current.path.replace(trailingSlashRE, '/').indexOf(
      target.path.replace(trailingSlashRE, '/')
    ) === 0 &&
    (!target.hash || current.hash === target.hash) &&
    queryIncludes(current.query, target.query)
  )
}

function queryIncludes (current, target) {
  for (var key in target) {
    if (!(key in current)) {
      return false
    }
  }
  return true
}

/*  */

// work around weird flow bug
var toTypes = [String, Object];
var eventTypes = [String, Array];

var Link = {
  name: 'RouterLink',
  props: {
    to: {
      type: toTypes,
      required: true
    },
    tag: {
      type: String,
      default: 'a'
    },
    exact: Boolean,
    append: Boolean,
    replace: Boolean,
    activeClass: String,
    exactActiveClass: String,
    event: {
      type: eventTypes,
      default: 'click'
    }
  },
  render: function render (h) {
    var this$1 = this;

    var router = this.$router;
    var current = this.$route;
    var ref = router.resolve(this.to, current, this.append);
    var location = ref.location;
    var route = ref.route;
    var href = ref.href;

    var classes = {};
    var globalActiveClass = router.options.linkActiveClass;
    var globalExactActiveClass = router.options.linkExactActiveClass;
    // Support global empty active class
    var activeClassFallback = globalActiveClass == null
      ? 'router-link-active'
      : globalActiveClass;
    var exactActiveClassFallback = globalExactActiveClass == null
      ? 'router-link-exact-active'
      : globalExactActiveClass;
    var activeClass = this.activeClass == null
      ? activeClassFallback
      : this.activeClass;
    var exactActiveClass = this.exactActiveClass == null
      ? exactActiveClassFallback
      : this.exactActiveClass;
    var compareTarget = location.path
      ? createRoute(null, location, null, router)
      : route;

    classes[exactActiveClass] = isSameRoute(current, compareTarget);
    classes[activeClass] = this.exact
      ? classes[exactActiveClass]
      : isIncludedRoute(current, compareTarget);

    var handler = function (e) {
      if (guardEvent(e)) {
        if (this$1.replace) {
          router.replace(location);
        } else {
          router.push(location);
        }
      }
    };

    var on = { click: guardEvent };
    if (Array.isArray(this.event)) {
      this.event.forEach(function (e) { on[e] = handler; });
    } else {
      on[this.event] = handler;
    }

    var data = {
      class: classes
    };

    if (this.tag === 'a') {
      data.on = on;
      data.attrs = { href: href };
    } else {
      // find the first <a> child and apply listener and href
      var a = findAnchor(this.$slots.default);
      if (a) {
        // in case the <a> is a static node
        a.isStatic = false;
        var aData = a.data = extend({}, a.data);
        aData.on = on;
        var aAttrs = a.data.attrs = extend({}, a.data.attrs);
        aAttrs.href = href;
      } else {
        // doesn't have <a> child, apply listener to self
        data.on = on;
      }
    }

    return h(this.tag, data, this.$slots.default)
  }
}

function guardEvent (e) {
  // don't redirect with control keys
  if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) { return }
  // don't redirect when preventDefault called
  if (e.defaultPrevented) { return }
  // don't redirect on right click
  if (e.button !== undefined && e.button !== 0) { return }
  // don't redirect if `target="_blank"`
  if (e.currentTarget && e.currentTarget.getAttribute) {
    var target = e.currentTarget.getAttribute('target');
    if (/\b_blank\b/i.test(target)) { return }
  }
  // this may be a Weex event which doesn't have this method
  if (e.preventDefault) {
    e.preventDefault();
  }
  return true
}

function findAnchor (children) {
  if (children) {
    var child;
    for (var i = 0; i < children.length; i++) {
      child = children[i];
      if (child.tag === 'a') {
        return child
      }
      if (child.children && (child = findAnchor(child.children))) {
        return child
      }
    }
  }
}

var _Vue;

function install (Vue) {
  if (install.installed && _Vue === Vue) { return }
  install.installed = true;

  _Vue = Vue;

  var isDef = function (v) { return v !== undefined; };

  var registerInstance = function (vm, callVal) {
    var i = vm.$options._parentVnode;
    if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {
      i(vm, callVal);
    }
  };

  Vue.mixin({
    beforeCreate: function beforeCreate () {
      if (isDef(this.$options.router)) {
        this._routerRoot = this;
        this._router = this.$options.router;
        this._router.init(this);
        Vue.util.defineReactive(this, '_route', this._router.history.current);
      } else {
        this._routerRoot = (this.$parent && this.$parent._routerRoot) || this;
      }
      registerInstance(this, this);
    },
    destroyed: function destroyed () {
      registerInstance(this);
    }
  });

  Object.defineProperty(Vue.prototype, '$router', {
    get: function get () { return this._routerRoot._router }
  });

  Object.defineProperty(Vue.prototype, '$route', {
    get: function get () { return this._routerRoot._route }
  });

  Vue.component('RouterView', View);
  Vue.component('RouterLink', Link);

  var strats = Vue.config.optionMergeStrategies;
  // use the same hook merging strategy for route hooks
  strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;
}

/*  */

var inBrowser = typeof window !== 'undefined';

/*  */

function resolvePath (
  relative,
  base,
  append
) {
  var firstChar = relative.charAt(0);
  if (firstChar === '/') {
    return relative
  }

  if (firstChar === '?' || firstChar === '#') {
    return base + relative
  }

  var stack = base.split('/');

  // remove trailing segment if:
  // - not appending
  // - appending to trailing slash (last segment is empty)
  if (!append || !stack[stack.length - 1]) {
    stack.pop();
  }

  // resolve relative path
  var segments = relative.replace(/^\//, '').split('/');
  for (var i = 0; i < segments.length; i++) {
    var segment = segments[i];
    if (segment === '..') {
      stack.pop();
    } else if (segment !== '.') {
      stack.push(segment);
    }
  }

  // ensure leading slash
  if (stack[0] !== '') {
    stack.unshift('');
  }

  return stack.join('/')
}

function parsePath (path) {
  var hash = '';
  var query = '';

  var hashIndex = path.indexOf('#');
  if (hashIndex >= 0) {
    hash = path.slice(hashIndex);
    path = path.slice(0, hashIndex);
  }

  var queryIndex = path.indexOf('?');
  if (queryIndex >= 0) {
    query = path.slice(queryIndex + 1);
    path = path.slice(0, queryIndex);
  }

  return {
    path: path,
    query: query,
    hash: hash
  }
}

function cleanPath (path) {
  return path.replace(/\/\//g, '/')
}

var isarray = Array.isArray || function (arr) {
  return Object.prototype.toString.call(arr) == '[object Array]';
};

/**
 * Expose `pathToRegexp`.
 */
var pathToRegexp_1 = pathToRegexp;
var parse_1 = parse;
var compile_1 = compile;
var tokensToFunction_1 = tokensToFunction;
var tokensToRegExp_1 = tokensToRegExp;

/**
 * The main path matching regexp utility.
 *
 * @type {RegExp}
 */
var PATH_REGEXP = new RegExp([
  // Match escaped characters that would otherwise appear in future matches.
  // This allows the user to escape special characters that won't transform.
  '(\\\\.)',
  // Match Express-style parameters and un-named parameters with a prefix
  // and optional suffixes. Matches appear as:
  //
  // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
  // "/route(\\d+)"  => [undefined, undefined, undefined, "\d+", undefined, undefined]
  // "/*"            => ["/", undefined, undefined, undefined, undefined, "*"]
  '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'
].join('|'), 'g');

/**
 * Parse a string for the raw tokens.
 *
 * @param  {string}  str
 * @param  {Object=} options
 * @return {!Array}
 */
function parse (str, options) {
  var tokens = [];
  var key = 0;
  var index = 0;
  var path = '';
  var defaultDelimiter = options && options.delimiter || '/';
  var res;

  while ((res = PATH_REGEXP.exec(str)) != null) {
    var m = res[0];
    var escaped = res[1];
    var offset = res.index;
    path += str.slice(index, offset);
    index = offset + m.length;

    // Ignore already escaped sequences.
    if (escaped) {
      path += escaped[1];
      continue
    }

    var next = str[index];
    var prefix = res[2];
    var name = res[3];
    var capture = res[4];
    var group = res[5];
    var modifier = res[6];
    var asterisk = res[7];

    // Push the current path onto the tokens.
    if (path) {
      tokens.push(path);
      path = '';
    }

    var partial = prefix != null && next != null && next !== prefix;
    var repeat = modifier === '+' || modifier === '*';
    var optional = modifier === '?' || modifier === '*';
    var delimiter = res[2] || defaultDelimiter;
    var pattern = capture || group;

    tokens.push({
      name: name || key++,
      prefix: prefix || '',
      delimiter: delimiter,
      optional: optional,
      repeat: repeat,
      partial: partial,
      asterisk: !!asterisk,
      pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')
    });
  }

  // Match any characters still remaining.
  if (index < str.length) {
    path += str.substr(index);
  }

  // If the path exists, push it onto the end.
  if (path) {
    tokens.push(path);
  }

  return tokens
}

/**
 * Compile a string to a template function for the path.
 *
 * @param  {string}             str
 * @param  {Object=}            options
 * @return {!function(Object=, Object=)}
 */
function compile (str, options) {
  return tokensToFunction(parse(str, options))
}

/**
 * Prettier encoding of URI path segments.
 *
 * @param  {string}
 * @return {string}
 */
function encodeURIComponentPretty (str) {
  return encodeURI(str).replace(/[\/?#]/g, function (c) {
    return '%' + c.charCodeAt(0).toString(16).toUpperCase()
  })
}

/**
 * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.
 *
 * @param  {string}
 * @return {string}
 */
function encodeAsterisk (str) {
  return encodeURI(str).replace(/[?#]/g, function (c) {
    return '%' + c.charCodeAt(0).toString(16).toUpperCase()
  })
}

/**
 * Expose a method for transforming tokens into the path function.
 */
function tokensToFunction (tokens) {
  // Compile all the tokens into regexps.
  var matches = new Array(tokens.length);

  // Compile all the patterns before compilation.
  for (var i = 0; i < tokens.length; i++) {
    if (typeof tokens[i] === 'object') {
      matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$');
    }
  }

  return function (obj, opts) {
    var path = '';
    var data = obj || {};
    var options = opts || {};
    var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;

    for (var i = 0; i < tokens.length; i++) {
      var token = tokens[i];

      if (typeof token === 'string') {
        path += token;

        continue
      }

      var value = data[token.name];
      var segment;

      if (value == null) {
        if (token.optional) {
          // Prepend partial segment prefixes.
          if (token.partial) {
            path += token.prefix;
          }

          continue
        } else {
          throw new TypeError('Expected "' + token.name + '" to be defined')
        }
      }

      if (isarray(value)) {
        if (!token.repeat) {
          throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`')
        }

        if (value.length === 0) {
          if (token.optional) {
            continue
          } else {
            throw new TypeError('Expected "' + token.name + '" to not be empty')
          }
        }

        for (var j = 0; j < value.length; j++) {
          segment = encode(value[j]);

          if (!matches[i].test(segment)) {
            throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`')
          }

          path += (j === 0 ? token.prefix : token.delimiter) + segment;
        }

        continue
      }

      segment = token.asterisk ? encodeAsterisk(value) : encode(value);

      if (!matches[i].test(segment)) {
        throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"')
      }

      path += token.prefix + segment;
    }

    return path
  }
}

/**
 * Escape a regular expression string.
 *
 * @param  {string} str
 * @return {string}
 */
function escapeString (str) {
  return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1')
}

/**
 * Escape the capturing group by escaping special characters and meaning.
 *
 * @param  {string} group
 * @return {string}
 */
function escapeGroup (group) {
  return group.replace(/([=!:$\/()])/g, '\\$1')
}

/**
 * Attach the keys as a property of the regexp.
 *
 * @param  {!RegExp} re
 * @param  {Array}   keys
 * @return {!RegExp}
 */
function attachKeys (re, keys) {
  re.keys = keys;
  return re
}

/**
 * Get the flags for a regexp from the options.
 *
 * @param  {Object} options
 * @return {string}
 */
function flags (options) {
  return options.sensitive ? '' : 'i'
}

/**
 * Pull out keys from a regexp.
 *
 * @param  {!RegExp} path
 * @param  {!Array}  keys
 * @return {!RegExp}
 */
function regexpToRegexp (path, keys) {
  // Use a negative lookahead to match only capturing groups.
  var groups = path.source.match(/\((?!\?)/g);

  if (groups) {
    for (var i = 0; i < groups.length; i++) {
      keys.push({
        name: i,
        prefix: null,
        delimiter: null,
        optional: false,
        repeat: false,
        partial: false,
        asterisk: false,
        pattern: null
      });
    }
  }

  return attachKeys(path, keys)
}

/**
 * Transform an array into a regexp.
 *
 * @param  {!Array}  path
 * @param  {Array}   keys
 * @param  {!Object} options
 * @return {!RegExp}
 */
function arrayToRegexp (path, keys, options) {
  var parts = [];

  for (var i = 0; i < path.length; i++) {
    parts.push(pathToRegexp(path[i], keys, options).source);
  }

  var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));

  return attachKeys(regexp, keys)
}

/**
 * Create a path regexp from string input.
 *
 * @param  {string}  path
 * @param  {!Array}  keys
 * @param  {!Object} options
 * @return {!RegExp}
 */
function stringToRegexp (path, keys, options) {
  return tokensToRegExp(parse(path, options), keys, options)
}

/**
 * Expose a function for taking tokens and returning a RegExp.
 *
 * @param  {!Array}          tokens
 * @param  {(Array|Object)=} keys
 * @param  {Object=}         options
 * @return {!RegExp}
 */
function tokensToRegExp (tokens, keys, options) {
  if (!isarray(keys)) {
    options = /** @type {!Object} */ (keys || options);
    keys = [];
  }

  options = options || {};

  var strict = options.strict;
  var end = options.end !== false;
  var route = '';

  // Iterate over the tokens and create our regexp string.
  for (var i = 0; i < tokens.length; i++) {
    var token = tokens[i];

    if (typeof token === 'string') {
      route += escapeString(token);
    } else {
      var prefix = escapeString(token.prefix);
      var capture = '(?:' + token.pattern + ')';

      keys.push(token);

      if (token.repeat) {
        capture += '(?:' + prefix + capture + ')*';
      }

      if (token.optional) {
        if (!token.partial) {
          capture = '(?:' + prefix + '(' + capture + '))?';
        } else {
          capture = prefix + '(' + capture + ')?';
        }
      } else {
        capture = prefix + '(' + capture + ')';
      }

      route += capture;
    }
  }

  var delimiter = escapeString(options.delimiter || '/');
  var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;

  // In non-strict mode we allow a slash at the end of match. If the path to
  // match already ends with a slash, we remove it for consistency. The slash
  // is valid at the end of a path match, not in the middle. This is important
  // in non-ending mode, where "/test/" shouldn't match "/test//route".
  if (!strict) {
    route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';
  }

  if (end) {
    route += '$';
  } else {
    // In non-ending mode, we need the capturing groups to match as much as
    // possible by using a positive lookahead to the end or next path segment.
    route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';
  }

  return attachKeys(new RegExp('^' + route, flags(options)), keys)
}

/**
 * Normalize the given path string, returning a regular expression.
 *
 * An empty array can be passed in for the keys, which will hold the
 * placeholder key descriptions. For example, using `/user/:id`, `keys` will
 * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.
 *
 * @param  {(string|RegExp|Array)} path
 * @param  {(Array|Object)=}       keys
 * @param  {Object=}               options
 * @return {!RegExp}
 */
function pathToRegexp (path, keys, options) {
  if (!isarray(keys)) {
    options = /** @type {!Object} */ (keys || options);
    keys = [];
  }

  options = options || {};

  if (path instanceof RegExp) {
    return regexpToRegexp(path, /** @type {!Array} */ (keys))
  }

  if (isarray(path)) {
    return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)
  }

  return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)
}
pathToRegexp_1.parse = parse_1;
pathToRegexp_1.compile = compile_1;
pathToRegexp_1.tokensToFunction = tokensToFunction_1;
pathToRegexp_1.tokensToRegExp = tokensToRegExp_1;

/*  */

// $flow-disable-line
var regexpCompileCache = Object.create(null);

function fillParams (
  path,
  params,
  routeMsg
) {
  try {
    var filler =
      regexpCompileCache[path] ||
      (regexpCompileCache[path] = pathToRegexp_1.compile(path));
    return filler(params || {}, { pretty: true })
  } catch (e) {
    if (true) {
      warn(false, ("missing param for " + routeMsg + ": " + (e.message)));
    }
    return ''
  }
}

/*  */

function createRouteMap (
  routes,
  oldPathList,
  oldPathMap,
  oldNameMap
) {
  // the path list is used to control path matching priority
  var pathList = oldPathList || [];
  // $flow-disable-line
  var pathMap = oldPathMap || Object.create(null);
  // $flow-disable-line
  var nameMap = oldNameMap || Object.create(null);

  routes.forEach(function (route) {
    addRouteRecord(pathList, pathMap, nameMap, route);
  });

  // ensure wildcard routes are always at the end
  for (var i = 0, l = pathList.length; i < l; i++) {
    if (pathList[i] === '*') {
      pathList.push(pathList.splice(i, 1)[0]);
      l--;
      i--;
    }
  }

  return {
    pathList: pathList,
    pathMap: pathMap,
    nameMap: nameMap
  }
}

function addRouteRecord (
  pathList,
  pathMap,
  nameMap,
  route,
  parent,
  matchAs
) {
  var path = route.path;
  var name = route.name;
  if (true) {
    assert(path != null, "\"path\" is required in a route configuration.");
    assert(
      typeof route.component !== 'string',
      "route config \"component\" for path: " + (String(path || name)) + " cannot be a " +
      "string id. Use an actual component instead."
    );
  }

  var pathToRegexpOptions = route.pathToRegexpOptions || {};
  var normalizedPath = normalizePath(
    path,
    parent,
    pathToRegexpOptions.strict
  );

  if (typeof route.caseSensitive === 'boolean') {
    pathToRegexpOptions.sensitive = route.caseSensitive;
  }

  var record = {
    path: normalizedPath,
    regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),
    components: route.components || { default: route.component },
    instances: {},
    name: name,
    parent: parent,
    matchAs: matchAs,
    redirect: route.redirect,
    beforeEnter: route.beforeEnter,
    meta: route.meta || {},
    props: route.props == null
      ? {}
      : route.components
        ? route.props
        : { default: route.props }
  };

  if (route.children) {
    // Warn if route is named, does not redirect and has a default child route.
    // If users navigate to this route by name, the default child will
    // not be rendered (GH Issue #629)
    if (true) {
      if (route.name && !route.redirect && route.children.some(function (child) { return /^\/?$/.test(child.path); })) {
        warn(
          false,
          "Named Route '" + (route.name) + "' has a default child route. " +
          "When navigating to this named route (:to=\"{name: '" + (route.name) + "'\"), " +
          "the default child route will not be rendered. Remove the name from " +
          "this route and use the name of the default child route for named " +
          "links instead."
        );
      }
    }
    route.children.forEach(function (child) {
      var childMatchAs = matchAs
        ? cleanPath((matchAs + "/" + (child.path)))
        : undefined;
      addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);
    });
  }

  if (route.alias !== undefined) {
    var aliases = Array.isArray(route.alias)
      ? route.alias
      : [route.alias];

    aliases.forEach(function (alias) {
      var aliasRoute = {
        path: alias,
        children: route.children
      };
      addRouteRecord(
        pathList,
        pathMap,
        nameMap,
        aliasRoute,
        parent,
        record.path || '/' // matchAs
      );
    });
  }

  if (!pathMap[record.path]) {
    pathList.push(record.path);
    pathMap[record.path] = record;
  }

  if (name) {
    if (!nameMap[name]) {
      nameMap[name] = record;
    } else if ("development" !== 'production' && !matchAs) {
      warn(
        false,
        "Duplicate named routes definition: " +
        "{ name: \"" + name + "\", path: \"" + (record.path) + "\" }"
      );
    }
  }
}

function compileRouteRegex (path, pathToRegexpOptions) {
  var regex = pathToRegexp_1(path, [], pathToRegexpOptions);
  if (true) {
    var keys = Object.create(null);
    regex.keys.forEach(function (key) {
      warn(!keys[key.name], ("Duplicate param keys in route with path: \"" + path + "\""));
      keys[key.name] = true;
    });
  }
  return regex
}

function normalizePath (path, parent, strict) {
  if (!strict) { path = path.replace(/\/$/, ''); }
  if (path[0] === '/') { return path }
  if (parent == null) { return path }
  return cleanPath(((parent.path) + "/" + path))
}

/*  */

function normalizeLocation (
  raw,
  current,
  append,
  router
) {
  var next = typeof raw === 'string' ? { path: raw } : raw;
  // named target
  if (next.name || next._normalized) {
    return next
  }

  // relative params
  if (!next.path && next.params && current) {
    next = extend({}, next);
    next._normalized = true;
    var params = extend(extend({}, current.params), next.params);
    if (current.name) {
      next.name = current.name;
      next.params = params;
    } else if (current.matched.length) {
      var rawPath = current.matched[current.matched.length - 1].path;
      next.path = fillParams(rawPath, params, ("path " + (current.path)));
    } else if (true) {
      warn(false, "relative params navigation requires a current route.");
    }
    return next
  }

  var parsedPath = parsePath(next.path || '');
  var basePath = (current && current.path) || '/';
  var path = parsedPath.path
    ? resolvePath(parsedPath.path, basePath, append || next.append)
    : basePath;

  var query = resolveQuery(
    parsedPath.query,
    next.query,
    router && router.options.parseQuery
  );

  var hash = next.hash || parsedPath.hash;
  if (hash && hash.charAt(0) !== '#') {
    hash = "#" + hash;
  }

  return {
    _normalized: true,
    path: path,
    query: query,
    hash: hash
  }
}

/*  */



function createMatcher (
  routes,
  router
) {
  var ref = createRouteMap(routes);
  var pathList = ref.pathList;
  var pathMap = ref.pathMap;
  var nameMap = ref.nameMap;

  function addRoutes (routes) {
    createRouteMap(routes, pathList, pathMap, nameMap);
  }

  function match (
    raw,
    currentRoute,
    redirectedFrom
  ) {
    var location = normalizeLocation(raw, currentRoute, false, router);
    var name = location.name;

    if (name) {
      var record = nameMap[name];
      if (true) {
        warn(record, ("Route with name '" + name + "' does not exist"));
      }
      if (!record) { return _createRoute(null, location) }
      var paramNames = record.regex.keys
        .filter(function (key) { return !key.optional; })
        .map(function (key) { return key.name; });

      if (typeof location.params !== 'object') {
        location.params = {};
      }

      if (currentRoute && typeof currentRoute.params === 'object') {
        for (var key in currentRoute.params) {
          if (!(key in location.params) && paramNames.indexOf(key) > -1) {
            location.params[key] = currentRoute.params[key];
          }
        }
      }

      if (record) {
        location.path = fillParams(record.path, location.params, ("named route \"" + name + "\""));
        return _createRoute(record, location, redirectedFrom)
      }
    } else if (location.path) {
      location.params = {};
      for (var i = 0; i < pathList.length; i++) {
        var path = pathList[i];
        var record$1 = pathMap[path];
        if (matchRoute(record$1.regex, location.path, location.params)) {
          return _createRoute(record$1, location, redirectedFrom)
        }
      }
    }
    // no match
    return _createRoute(null, location)
  }

  function redirect (
    record,
    location
  ) {
    var originalRedirect = record.redirect;
    var redirect = typeof originalRedirect === 'function'
      ? originalRedirect(createRoute(record, location, null, router))
      : originalRedirect;

    if (typeof redirect === 'string') {
      redirect = { path: redirect };
    }

    if (!redirect || typeof redirect !== 'object') {
      if (true) {
        warn(
          false, ("invalid redirect option: " + (JSON.stringify(redirect)))
        );
      }
      return _createRoute(null, location)
    }

    var re = redirect;
    var name = re.name;
    var path = re.path;
    var query = location.query;
    var hash = location.hash;
    var params = location.params;
    query = re.hasOwnProperty('query') ? re.query : query;
    hash = re.hasOwnProperty('hash') ? re.hash : hash;
    params = re.hasOwnProperty('params') ? re.params : params;

    if (name) {
      // resolved named direct
      var targetRecord = nameMap[name];
      if (true) {
        assert(targetRecord, ("redirect failed: named route \"" + name + "\" not found."));
      }
      return match({
        _normalized: true,
        name: name,
        query: query,
        hash: hash,
        params: params
      }, undefined, location)
    } else if (path) {
      // 1. resolve relative redirect
      var rawPath = resolveRecordPath(path, record);
      // 2. resolve params
      var resolvedPath = fillParams(rawPath, params, ("redirect route with path \"" + rawPath + "\""));
      // 3. rematch with existing query and hash
      return match({
        _normalized: true,
        path: resolvedPath,
        query: query,
        hash: hash
      }, undefined, location)
    } else {
      if (true) {
        warn(false, ("invalid redirect option: " + (JSON.stringify(redirect))));
      }
      return _createRoute(null, location)
    }
  }

  function alias (
    record,
    location,
    matchAs
  ) {
    var aliasedPath = fillParams(matchAs, location.params, ("aliased route with path \"" + matchAs + "\""));
    var aliasedMatch = match({
      _normalized: true,
      path: aliasedPath
    });
    if (aliasedMatch) {
      var matched = aliasedMatch.matched;
      var aliasedRecord = matched[matched.length - 1];
      location.params = aliasedMatch.params;
      return _createRoute(aliasedRecord, location)
    }
    return _createRoute(null, location)
  }

  function _createRoute (
    record,
    location,
    redirectedFrom
  ) {
    if (record && record.redirect) {
      return redirect(record, redirectedFrom || location)
    }
    if (record && record.matchAs) {
      return alias(record, location, record.matchAs)
    }
    return createRoute(record, location, redirectedFrom, router)
  }

  return {
    match: match,
    addRoutes: addRoutes
  }
}

function matchRoute (
  regex,
  path,
  params
) {
  var m = path.match(regex);

  if (!m) {
    return false
  } else if (!params) {
    return true
  }

  for (var i = 1, len = m.length; i < len; ++i) {
    var key = regex.keys[i - 1];
    var val = typeof m[i] === 'string' ? decodeURIComponent(m[i]) : m[i];
    if (key) {
      // Fix #1994: using * with props: true generates a param named 0
      params[key.name || 'pathMatch'] = val;
    }
  }

  return true
}

function resolveRecordPath (path, record) {
  return resolvePath(path, record.parent ? record.parent.path : '/', true)
}

/*  */

var positionStore = Object.create(null);

function setupScroll () {
  // Fix for #1585 for Firefox
  // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678
  window.history.replaceState({ key: getStateKey() }, '', window.location.href.replace(window.location.origin, ''));
  window.addEventListener('popstate', function (e) {
    saveScrollPosition();
    if (e.state && e.state.key) {
      setStateKey(e.state.key);
    }
  });
}

function handleScroll (
  router,
  to,
  from,
  isPop
) {
  if (!router.app) {
    return
  }

  var behavior = router.options.scrollBehavior;
  if (!behavior) {
    return
  }

  if (true) {
    assert(typeof behavior === 'function', "scrollBehavior must be a function");
  }

  // wait until re-render finishes before scrolling
  router.app.$nextTick(function () {
    var position = getScrollPosition();
    var shouldScroll = behavior.call(router, to, from, isPop ? position : null);

    if (!shouldScroll) {
      return
    }

    if (typeof shouldScroll.then === 'function') {
      shouldScroll.then(function (shouldScroll) {
        scrollToPosition((shouldScroll), position);
      }).catch(function (err) {
        if (true) {
          assert(false, err.toString());
        }
      });
    } else {
      scrollToPosition(shouldScroll, position);
    }
  });
}

function saveScrollPosition () {
  var key = getStateKey();
  if (key) {
    positionStore[key] = {
      x: window.pageXOffset,
      y: window.pageYOffset
    };
  }
}

function getScrollPosition () {
  var key = getStateKey();
  if (key) {
    return positionStore[key]
  }
}

function getElementPosition (el, offset) {
  var docEl = document.documentElement;
  var docRect = docEl.getBoundingClientRect();
  var elRect = el.getBoundingClientRect();
  return {
    x: elRect.left - docRect.left - offset.x,
    y: elRect.top - docRect.top - offset.y
  }
}

function isValidPosition (obj) {
  return isNumber(obj.x) || isNumber(obj.y)
}

function normalizePosition (obj) {
  return {
    x: isNumber(obj.x) ? obj.x : window.pageXOffset,
    y: isNumber(obj.y) ? obj.y : window.pageYOffset
  }
}

function normalizeOffset (obj) {
  return {
    x: isNumber(obj.x) ? obj.x : 0,
    y: isNumber(obj.y) ? obj.y : 0
  }
}

function isNumber (v) {
  return typeof v === 'number'
}

function scrollToPosition (shouldScroll, position) {
  var isObject = typeof shouldScroll === 'object';
  if (isObject && typeof shouldScroll.selector === 'string') {
    var el = document.querySelector(shouldScroll.selector);
    if (el) {
      var offset = shouldScroll.offset && typeof shouldScroll.offset === 'object' ? shouldScroll.offset : {};
      offset = normalizeOffset(offset);
      position = getElementPosition(el, offset);
    } else if (isValidPosition(shouldScroll)) {
      position = normalizePosition(shouldScroll);
    }
  } else if (isObject && isValidPosition(shouldScroll)) {
    position = normalizePosition(shouldScroll);
  }

  if (position) {
    window.scrollTo(position.x, position.y);
  }
}

/*  */

var supportsPushState = inBrowser && (function () {
  var ua = window.navigator.userAgent;

  if (
    (ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&
    ua.indexOf('Mobile Safari') !== -1 &&
    ua.indexOf('Chrome') === -1 &&
    ua.indexOf('Windows Phone') === -1
  ) {
    return false
  }

  return window.history && 'pushState' in window.history
})();

// use User Timing api (if present) for more accurate key precision
var Time = inBrowser && window.performance && window.performance.now
  ? window.performance
  : Date;

var _key = genKey();

function genKey () {
  return Time.now().toFixed(3)
}

function getStateKey () {
  return _key
}

function setStateKey (key) {
  _key = key;
}

function pushState (url, replace) {
  saveScrollPosition();
  // try...catch the pushState call to get around Safari
  // DOM Exception 18 where it limits to 100 pushState calls
  var history = window.history;
  try {
    if (replace) {
      history.replaceState({ key: _key }, '', url);
    } else {
      _key = genKey();
      history.pushState({ key: _key }, '', url);
    }
  } catch (e) {
    window.location[replace ? 'replace' : 'assign'](url);
  }
}

function replaceState (url) {
  pushState(url, true);
}

/*  */

function runQueue (queue, fn, cb) {
  var step = function (index) {
    if (index >= queue.length) {
      cb();
    } else {
      if (queue[index]) {
        fn(queue[index], function () {
          step(index + 1);
        });
      } else {
        step(index + 1);
      }
    }
  };
  step(0);
}

/*  */

function resolveAsyncComponents (matched) {
  return function (to, from, next) {
    var hasAsync = false;
    var pending = 0;
    var error = null;

    flatMapComponents(matched, function (def, _, match, key) {
      // if it's a function and doesn't have cid attached,
      // assume it's an async component resolve function.
      // we are not using Vue's default async resolving mechanism because
      // we want to halt the navigation until the incoming component has been
      // resolved.
      if (typeof def === 'function' && def.cid === undefined) {
        hasAsync = true;
        pending++;

        var resolve = once(function (resolvedDef) {
          if (isESModule(resolvedDef)) {
            resolvedDef = resolvedDef.default;
          }
          // save resolved on async factory in case it's used elsewhere
          def.resolved = typeof resolvedDef === 'function'
            ? resolvedDef
            : _Vue.extend(resolvedDef);
          match.components[key] = resolvedDef;
          pending--;
          if (pending <= 0) {
            next();
          }
        });

        var reject = once(function (reason) {
          var msg = "Failed to resolve async component " + key + ": " + reason;
          "development" !== 'production' && warn(false, msg);
          if (!error) {
            error = isError(reason)
              ? reason
              : new Error(msg);
            next(error);
          }
        });

        var res;
        try {
          res = def(resolve, reject);
        } catch (e) {
          reject(e);
        }
        if (res) {
          if (typeof res.then === 'function') {
            res.then(resolve, reject);
          } else {
            // new syntax in Vue 2.3
            var comp = res.component;
            if (comp && typeof comp.then === 'function') {
              comp.then(resolve, reject);
            }
          }
        }
      }
    });

    if (!hasAsync) { next(); }
  }
}

function flatMapComponents (
  matched,
  fn
) {
  return flatten(matched.map(function (m) {
    return Object.keys(m.components).map(function (key) { return fn(
      m.components[key],
      m.instances[key],
      m, key
    ); })
  }))
}

function flatten (arr) {
  return Array.prototype.concat.apply([], arr)
}

var hasSymbol =
  typeof Symbol === 'function' &&
  typeof Symbol.toStringTag === 'symbol';

function isESModule (obj) {
  return obj.__esModule || (hasSymbol && obj[Symbol.toStringTag] === 'Module')
}

// in Webpack 2, require.ensure now also returns a Promise
// so the resolve/reject functions may get called an extra time
// if the user uses an arrow function shorthand that happens to
// return that Promise.
function once (fn) {
  var called = false;
  return function () {
    var args = [], len = arguments.length;
    while ( len-- ) args[ len ] = arguments[ len ];

    if (called) { return }
    called = true;
    return fn.apply(this, args)
  }
}

/*  */

var History = function History (router, base) {
  this.router = router;
  this.base = normalizeBase(base);
  // start with a route object that stands for "nowhere"
  this.current = START;
  this.pending = null;
  this.ready = false;
  this.readyCbs = [];
  this.readyErrorCbs = [];
  this.errorCbs = [];
};

History.prototype.listen = function listen (cb) {
  this.cb = cb;
};

History.prototype.onReady = function onReady (cb, errorCb) {
  if (this.ready) {
    cb();
  } else {
    this.readyCbs.push(cb);
    if (errorCb) {
      this.readyErrorCbs.push(errorCb);
    }
  }
};

History.prototype.onError = function onError (errorCb) {
  this.errorCbs.push(errorCb);
};

History.prototype.transitionTo = function transitionTo (location, onComplete, onAbort) {
    var this$1 = this;

  var route = this.router.match(location, this.current);
  this.confirmTransition(route, function () {
    this$1.updateRoute(route);
    onComplete && onComplete(route);
    this$1.ensureURL();

    // fire ready cbs once
    if (!this$1.ready) {
      this$1.ready = true;
      this$1.readyCbs.forEach(function (cb) { cb(route); });
    }
  }, function (err) {
    if (onAbort) {
      onAbort(err);
    }
    if (err && !this$1.ready) {
      this$1.ready = true;
      this$1.readyErrorCbs.forEach(function (cb) { cb(err); });
    }
  });
};

History.prototype.confirmTransition = function confirmTransition (route, onComplete, onAbort) {
    var this$1 = this;

  var current = this.current;
  var abort = function (err) {
    if (isError(err)) {
      if (this$1.errorCbs.length) {
        this$1.errorCbs.forEach(function (cb) { cb(err); });
      } else {
        warn(false, 'uncaught error during route navigation:');
        console.error(err);
      }
    }
    onAbort && onAbort(err);
  };
  if (
    isSameRoute(route, current) &&
    // in the case the route map has been dynamically appended to
    route.matched.length === current.matched.length
  ) {
    this.ensureURL();
    return abort()
  }

  var ref = resolveQueue(this.current.matched, route.matched);
    var updated = ref.updated;
    var deactivated = ref.deactivated;
    var activated = ref.activated;

  var queue = [].concat(
    // in-component leave guards
    extractLeaveGuards(deactivated),
    // global before hooks
    this.router.beforeHooks,
    // in-component update hooks
    extractUpdateHooks(updated),
    // in-config enter guards
    activated.map(function (m) { return m.beforeEnter; }),
    // async components
    resolveAsyncComponents(activated)
  );

  this.pending = route;
  var iterator = function (hook, next) {
    if (this$1.pending !== route) {
      return abort()
    }
    try {
      hook(route, current, function (to) {
        if (to === false || isError(to)) {
          // next(false) -> abort navigation, ensure current URL
          this$1.ensureURL(true);
          abort(to);
        } else if (
          typeof to === 'string' ||
          (typeof to === 'object' && (
            typeof to.path === 'string' ||
            typeof to.name === 'string'
          ))
        ) {
          // next('/') or next({ path: '/' }) -> redirect
          abort();
          if (typeof to === 'object' && to.replace) {
            this$1.replace(to);
          } else {
            this$1.push(to);
          }
        } else {
          // confirm transition and pass on the value
          next(to);
        }
      });
    } catch (e) {
      abort(e);
    }
  };

  runQueue(queue, iterator, function () {
    var postEnterCbs = [];
    var isValid = function () { return this$1.current === route; };
    // wait until async components are resolved before
    // extracting in-component enter guards
    var enterGuards = extractEnterGuards(activated, postEnterCbs, isValid);
    var queue = enterGuards.concat(this$1.router.resolveHooks);
    runQueue(queue, iterator, function () {
      if (this$1.pending !== route) {
        return abort()
      }
      this$1.pending = null;
      onComplete(route);
      if (this$1.router.app) {
        this$1.router.app.$nextTick(function () {
          postEnterCbs.forEach(function (cb) { cb(); });
        });
      }
    });
  });
};

History.prototype.updateRoute = function updateRoute (route) {
  var prev = this.current;
  this.current = route;
  this.cb && this.cb(route);
  this.router.afterHooks.forEach(function (hook) {
    hook && hook(route, prev);
  });
};

function normalizeBase (base) {
  if (!base) {
    if (inBrowser) {
      // respect <base> tag
      var baseEl = document.querySelector('base');
      base = (baseEl && baseEl.getAttribute('href')) || '/';
      // strip full URL origin
      base = base.replace(/^https?:\/\/[^\/]+/, '');
    } else {
      base = '/';
    }
  }
  // make sure there's the starting slash
  if (base.charAt(0) !== '/') {
    base = '/' + base;
  }
  // remove trailing slash
  return base.replace(/\/$/, '')
}

function resolveQueue (
  current,
  next
) {
  var i;
  var max = Math.max(current.length, next.length);
  for (i = 0; i < max; i++) {
    if (current[i] !== next[i]) {
      break
    }
  }
  return {
    updated: next.slice(0, i),
    activated: next.slice(i),
    deactivated: current.slice(i)
  }
}

function extractGuards (
  records,
  name,
  bind,
  reverse
) {
  var guards = flatMapComponents(records, function (def, instance, match, key) {
    var guard = extractGuard(def, name);
    if (guard) {
      return Array.isArray(guard)
        ? guard.map(function (guard) { return bind(guard, instance, match, key); })
        : bind(guard, instance, match, key)
    }
  });
  return flatten(reverse ? guards.reverse() : guards)
}

function extractGuard (
  def,
  key
) {
  if (typeof def !== 'function') {
    // extend now so that global mixins are applied.
    def = _Vue.extend(def);
  }
  return def.options[key]
}

function extractLeaveGuards (deactivated) {
  return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true)
}

function extractUpdateHooks (updated) {
  return extractGuards(updated, 'beforeRouteUpdate', bindGuard)
}

function bindGuard (guard, instance) {
  if (instance) {
    return function boundRouteGuard () {
      return guard.apply(instance, arguments)
    }
  }
}

function extractEnterGuards (
  activated,
  cbs,
  isValid
) {
  return extractGuards(activated, 'beforeRouteEnter', function (guard, _, match, key) {
    return bindEnterGuard(guard, match, key, cbs, isValid)
  })
}

function bindEnterGuard (
  guard,
  match,
  key,
  cbs,
  isValid
) {
  return function routeEnterGuard (to, from, next) {
    return guard(to, from, function (cb) {
      next(cb);
      if (typeof cb === 'function') {
        cbs.push(function () {
          // #750
          // if a router-view is wrapped with an out-in transition,
          // the instance may not have been registered at this time.
          // we will need to poll for registration until current route
          // is no longer valid.
          poll(cb, match.instances, key, isValid);
        });
      }
    })
  }
}

function poll (
  cb, // somehow flow cannot infer this is a function
  instances,
  key,
  isValid
) {
  if (
    instances[key] &&
    !instances[key]._isBeingDestroyed // do not reuse being destroyed instance
  ) {
    cb(instances[key]);
  } else if (isValid()) {
    setTimeout(function () {
      poll(cb, instances, key, isValid);
    }, 16);
  }
}

/*  */

var HTML5History = (function (History$$1) {
  function HTML5History (router, base) {
    var this$1 = this;

    History$$1.call(this, router, base);

    var expectScroll = router.options.scrollBehavior;
    var supportsScroll = supportsPushState && expectScroll;

    if (supportsScroll) {
      setupScroll();
    }

    var initLocation = getLocation(this.base);
    window.addEventListener('popstate', function (e) {
      var current = this$1.current;

      // Avoiding first `popstate` event dispatched in some browsers but first
      // history route not updated since async guard at the same time.
      var location = getLocation(this$1.base);
      if (this$1.current === START && location === initLocation) {
        return
      }

      this$1.transitionTo(location, function (route) {
        if (supportsScroll) {
          handleScroll(router, route, current, true);
        }
      });
    });
  }

  if ( History$$1 ) HTML5History.__proto__ = History$$1;
  HTML5History.prototype = Object.create( History$$1 && History$$1.prototype );
  HTML5History.prototype.constructor = HTML5History;

  HTML5History.prototype.go = function go (n) {
    window.history.go(n);
  };

  HTML5History.prototype.push = function push (location, onComplete, onAbort) {
    var this$1 = this;

    var ref = this;
    var fromRoute = ref.current;
    this.transitionTo(location, function (route) {
      pushState(cleanPath(this$1.base + route.fullPath));
      handleScroll(this$1.router, route, fromRoute, false);
      onComplete && onComplete(route);
    }, onAbort);
  };

  HTML5History.prototype.replace = function replace (location, onComplete, onAbort) {
    var this$1 = this;

    var ref = this;
    var fromRoute = ref.current;
    this.transitionTo(location, function (route) {
      replaceState(cleanPath(this$1.base + route.fullPath));
      handleScroll(this$1.router, route, fromRoute, false);
      onComplete && onComplete(route);
    }, onAbort);
  };

  HTML5History.prototype.ensureURL = function ensureURL (push) {
    if (getLocation(this.base) !== this.current.fullPath) {
      var current = cleanPath(this.base + this.current.fullPath);
      push ? pushState(current) : replaceState(current);
    }
  };

  HTML5History.prototype.getCurrentLocation = function getCurrentLocation () {
    return getLocation(this.base)
  };

  return HTML5History;
}(History));

function getLocation (base) {
  var path = decodeURI(window.location.pathname);
  if (base && path.indexOf(base) === 0) {
    path = path.slice(base.length);
  }
  return (path || '/') + window.location.search + window.location.hash
}

/*  */

var HashHistory = (function (History$$1) {
  function HashHistory (router, base, fallback) {
    History$$1.call(this, router, base);
    // check history fallback deeplinking
    if (fallback && checkFallback(this.base)) {
      return
    }
    ensureSlash();
  }

  if ( History$$1 ) HashHistory.__proto__ = History$$1;
  HashHistory.prototype = Object.create( History$$1 && History$$1.prototype );
  HashHistory.prototype.constructor = HashHistory;

  // this is delayed until the app mounts
  // to avoid the hashchange listener being fired too early
  HashHistory.prototype.setupListeners = function setupListeners () {
    var this$1 = this;

    var router = this.router;
    var expectScroll = router.options.scrollBehavior;
    var supportsScroll = supportsPushState && expectScroll;

    if (supportsScroll) {
      setupScroll();
    }

    window.addEventListener(supportsPushState ? 'popstate' : 'hashchange', function () {
      var current = this$1.current;
      if (!ensureSlash()) {
        return
      }
      this$1.transitionTo(getHash(), function (route) {
        if (supportsScroll) {
          handleScroll(this$1.router, route, current, true);
        }
        if (!supportsPushState) {
          replaceHash(route.fullPath);
        }
      });
    });
  };

  HashHistory.prototype.push = function push (location, onComplete, onAbort) {
    var this$1 = this;

    var ref = this;
    var fromRoute = ref.current;
    this.transitionTo(location, function (route) {
      pushHash(route.fullPath);
      handleScroll(this$1.router, route, fromRoute, false);
      onComplete && onComplete(route);
    }, onAbort);
  };

  HashHistory.prototype.replace = function replace (location, onComplete, onAbort) {
    var this$1 = this;

    var ref = this;
    var fromRoute = ref.current;
    this.transitionTo(location, function (route) {
      replaceHash(route.fullPath);
      handleScroll(this$1.router, route, fromRoute, false);
      onComplete && onComplete(route);
    }, onAbort);
  };

  HashHistory.prototype.go = function go (n) {
    window.history.go(n);
  };

  HashHistory.prototype.ensureURL = function ensureURL (push) {
    var current = this.current.fullPath;
    if (getHash() !== current) {
      push ? pushHash(current) : replaceHash(current);
    }
  };

  HashHistory.prototype.getCurrentLocation = function getCurrentLocation () {
    return getHash()
  };

  return HashHistory;
}(History));

function checkFallback (base) {
  var location = getLocation(base);
  if (!/^\/#/.test(location)) {
    window.location.replace(
      cleanPath(base + '/#' + location)
    );
    return true
  }
}

function ensureSlash () {
  var path = getHash();
  if (path.charAt(0) === '/') {
    return true
  }
  replaceHash('/' + path);
  return false
}

function getHash () {
  // We can't use window.location.hash here because it's not
  // consistent across browsers - Firefox will pre-decode it!
  var href = window.location.href;
  var index = href.indexOf('#');
  return index === -1 ? '' : decodeURI(href.slice(index + 1))
}

function getUrl (path) {
  var href = window.location.href;
  var i = href.indexOf('#');
  var base = i >= 0 ? href.slice(0, i) : href;
  return (base + "#" + path)
}

function pushHash (path) {
  if (supportsPushState) {
    pushState(getUrl(path));
  } else {
    window.location.hash = path;
  }
}

function replaceHash (path) {
  if (supportsPushState) {
    replaceState(getUrl(path));
  } else {
    window.location.replace(getUrl(path));
  }
}

/*  */

var AbstractHistory = (function (History$$1) {
  function AbstractHistory (router, base) {
    History$$1.call(this, router, base);
    this.stack = [];
    this.index = -1;
  }

  if ( History$$1 ) AbstractHistory.__proto__ = History$$1;
  AbstractHistory.prototype = Object.create( History$$1 && History$$1.prototype );
  AbstractHistory.prototype.constructor = AbstractHistory;

  AbstractHistory.prototype.push = function push (location, onComplete, onAbort) {
    var this$1 = this;

    this.transitionTo(location, function (route) {
      this$1.stack = this$1.stack.slice(0, this$1.index + 1).concat(route);
      this$1.index++;
      onComplete && onComplete(route);
    }, onAbort);
  };

  AbstractHistory.prototype.replace = function replace (location, onComplete, onAbort) {
    var this$1 = this;

    this.transitionTo(location, function (route) {
      this$1.stack = this$1.stack.slice(0, this$1.index).concat(route);
      onComplete && onComplete(route);
    }, onAbort);
  };

  AbstractHistory.prototype.go = function go (n) {
    var this$1 = this;

    var targetIndex = this.index + n;
    if (targetIndex < 0 || targetIndex >= this.stack.length) {
      return
    }
    var route = this.stack[targetIndex];
    this.confirmTransition(route, function () {
      this$1.index = targetIndex;
      this$1.updateRoute(route);
    });
  };

  AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation () {
    var current = this.stack[this.stack.length - 1];
    return current ? current.fullPath : '/'
  };

  AbstractHistory.prototype.ensureURL = function ensureURL () {
    // noop
  };

  return AbstractHistory;
}(History));

/*  */



var VueRouter = function VueRouter (options) {
  if ( options === void 0 ) options = {};

  this.app = null;
  this.apps = [];
  this.options = options;
  this.beforeHooks = [];
  this.resolveHooks = [];
  this.afterHooks = [];
  this.matcher = createMatcher(options.routes || [], this);

  var mode = options.mode || 'hash';
  this.fallback = mode === 'history' && !supportsPushState && options.fallback !== false;
  if (this.fallback) {
    mode = 'hash';
  }
  if (!inBrowser) {
    mode = 'abstract';
  }
  this.mode = mode;

  switch (mode) {
    case 'history':
      this.history = new HTML5History(this, options.base);
      break
    case 'hash':
      this.history = new HashHistory(this, options.base, this.fallback);
      break
    case 'abstract':
      this.history = new AbstractHistory(this, options.base);
      break
    default:
      if (true) {
        assert(false, ("invalid mode: " + mode));
      }
  }
};

var prototypeAccessors = { currentRoute: { configurable: true } };

VueRouter.prototype.match = function match (
  raw,
  current,
  redirectedFrom
) {
  return this.matcher.match(raw, current, redirectedFrom)
};

prototypeAccessors.currentRoute.get = function () {
  return this.history && this.history.current
};

VueRouter.prototype.init = function init (app /* Vue component instance */) {
    var this$1 = this;

  "development" !== 'production' && assert(
    install.installed,
    "not installed. Make sure to call `Vue.use(VueRouter)` " +
    "before creating root instance."
  );

  this.apps.push(app);

  // main app already initialized.
  if (this.app) {
    return
  }

  this.app = app;

  var history = this.history;

  if (history instanceof HTML5History) {
    history.transitionTo(history.getCurrentLocation());
  } else if (history instanceof HashHistory) {
    var setupHashListener = function () {
      history.setupListeners();
    };
    history.transitionTo(
      history.getCurrentLocation(),
      setupHashListener,
      setupHashListener
    );
  }

  history.listen(function (route) {
    this$1.apps.forEach(function (app) {
      app._route = route;
    });
  });
};

VueRouter.prototype.beforeEach = function beforeEach (fn) {
  return registerHook(this.beforeHooks, fn)
};

VueRouter.prototype.beforeResolve = function beforeResolve (fn) {
  return registerHook(this.resolveHooks, fn)
};

VueRouter.prototype.afterEach = function afterEach (fn) {
  return registerHook(this.afterHooks, fn)
};

VueRouter.prototype.onReady = function onReady (cb, errorCb) {
  this.history.onReady(cb, errorCb);
};

VueRouter.prototype.onError = function onError (errorCb) {
  this.history.onError(errorCb);
};

VueRouter.prototype.push = function push (location, onComplete, onAbort) {
  this.history.push(location, onComplete, onAbort);
};

VueRouter.prototype.replace = function replace (location, onComplete, onAbort) {
  this.history.replace(location, onComplete, onAbort);
};

VueRouter.prototype.go = function go (n) {
  this.history.go(n);
};

VueRouter.prototype.back = function back () {
  this.go(-1);
};

VueRouter.prototype.forward = function forward () {
  this.go(1);
};

VueRouter.prototype.getMatchedComponents = function getMatchedComponents (to) {
  var route = to
    ? to.matched
      ? to
      : this.resolve(to).route
    : this.currentRoute;
  if (!route) {
    return []
  }
  return [].concat.apply([], route.matched.map(function (m) {
    return Object.keys(m.components).map(function (key) {
      return m.components[key]
    })
  }))
};

VueRouter.prototype.resolve = function resolve (
  to,
  current,
  append
) {
  var location = normalizeLocation(
    to,
    current || this.history.current,
    append,
    this
  );
  var route = this.match(location, current);
  var fullPath = route.redirectedFrom || route.fullPath;
  var base = this.history.base;
  var href = createHref(base, fullPath, this.mode);
  return {
    location: location,
    route: route,
    href: href,
    // for backwards compat
    normalizedTo: location,
    resolved: route
  }
};

VueRouter.prototype.addRoutes = function addRoutes (routes) {
  this.matcher.addRoutes(routes);
  if (this.history.current !== START) {
    this.history.transitionTo(this.history.getCurrentLocation());
  }
};

Object.defineProperties( VueRouter.prototype, prototypeAccessors );

function registerHook (list, fn) {
  list.push(fn);
  return function () {
    var i = list.indexOf(fn);
    if (i > -1) { list.splice(i, 1); }
  }
}

function createHref (base, fullPath, mode) {
  var path = mode === 'hash' ? '#' + fullPath : fullPath;
  return base ? cleanPath(base + '/' + path) : path
}

VueRouter.install = install;
VueRouter.version = '3.0.2';

if (inBrowser && window.Vue) {
  window.Vue.use(VueRouter);
}

/* harmony default export */ __webpack_exports__["default"] = (VueRouter);


/***/ }),
/* 48 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(49)
)

/* script */
__vue_exports__ = __webpack_require__(50)

/* template */
var __vue_template__ = __webpack_require__(297)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\applyShop.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-edc86878"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 49 */
/***/ (function(module, exports) {

module.exports = {
  "bt": {
    "backgroundColor": "#0088FB",
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "dd3": {
    "paddingTop": 0,
    "paddingRight": 0,
    "paddingBottom": 0,
    "paddingLeft": 0,
    "width": 213,
    "height": 213
  },
  "i": {
    "width": "22",
    "height": "12"
  },
  "dd1": {
    "height": 200,
    "paddingTop": 20,
    "paddingBottom": 20
  },
  "textarea": {
    "backgroundColor": "rgba(0,0,0,0)",
    "fontSize": "24",
    "height": "160"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10",
    "flex": 1
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "height": "80",
    "lineHeight": "80",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "right": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 50 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _weexUi = __webpack_require__(3);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexXPicker = __webpack_require__(25);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
var picker = weex.requireModule('picker');
//  import access_token from '../access_token'
exports.default = {
    name: 'applyShop',
    components: {
        header: _header2.default,
        XPicker: _weexXPicker.XPicker
    },
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            img: _url2.default + '/appimages/upload.png',
            icon2: _url2.default + '/appimages/icon2.png',
            selectc: _url2.default + '/appimages/select.png',
            shop_name: '', //店铺名称
            shop_type_name: '',
            shop_type: '', //店铺类型
            person: '', //负责人
            mobile: '', //手机号
            province: '', //省
            city: '', //市
            area: '', //区县
            address: '', //详细地址
            shop_logo: _url2.default + '/appimages/upload.png', //店铺logo
            business_license: _url2.default + '/appimages/upload.png', //营业执照
            restaurant_license: _url2.default + '/appimages/upload.png', //   餐饮许可证
            content: '', //店铺介绍
            shop_imgs: _url2.default + '/appimages/upload.png', //店铺图片
            opening_bank: '', //开户行
            bank_card: '', //银行账号
            person_average: '', //人均消费
            typeList: [],
            nameList: [],
            showPicker: false,
            defaultTitle: '',
            areaAddres: '',
            access_token: ''
        };
    },
    created: function created() {
        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getType();
        });
    },

    methods: {
        getImg: function getImg(type) {
            var that = this;
            valueModule.openPhotoAlbum(function (res) {
                var imgUrl = res.imgUrl;
                if (type == 1) {
                    that.shop_logo = imgUrl;
                } else if (type == 2) {
                    that.business_license = imgUrl;
                } else if (type == 3) {
                    that.restaurant_license = imgUrl;
                } else if (type == 4) {
                    that.shop_imgs = imgUrl;
                }
            });
        },
        // 类型选择
        selectType: function selectType() {
            var _this = this;

            picker.pick({
                items: this.nameList
            }, function (event) {
                if (event.result === 'success') {
                    _this.shop_type = _this.typeList[event.data].id;
                    _this.shop_type_name = _this.typeList[event.data].name;
                }
            });
        },
        openPicker: function openPicker() {
            this.showPicker = true;
        },
        pickerOverlayClick: function pickerOverlayClick(e) {
            this.showPicker = false;
        },
        change: function change(e) {
            this.defaultTitle = e.title;
            this.province = e.titles[0];
            this.city = e.titles[1];
            this.area = e.titles[2];
            this.areaAddres = this.province + this.city + this.area;
        },

        getType: function getType() {
            var that = this;
            var params = '/shop/shopType/list' + '?' + 'access_token=' + this.access_token + '&type=2';
            var newarr = [];

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.typeList = data.lists;
                    data.lists.forEach(function (item, index) {
                        newarr.push(item.name);
                    });
                    that.nameList = newarr;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        add: function add() {
            var that = this;
            if (this.shop_name == '' || this.shop_type == '' || this.person == '' || this.mobile == '' || this.province == '' || this.city == '' || this.area == '' || this.address == '' || this.shop_logo == '' || this.business_license == '' || this.restaurant_license == '' || this.shop_imgs == '' || this.opening_bank == '' || this.bank_card == '') {
                modal.toast({
                    message: '请填写信息',
                    duration: 1
                });
                return false;
            }
            var myreg = /^1[3|4|5|6|7|8][0-9]\d{8}$/;
            if (!myreg.test(that.mobile)) {
                modal.toast({
                    message: '手机格式有误',
                    duration: 1
                });
                return false;
            }
            var params = '/shop/shop/add' + '?' + 'access_token=' + this.access_token + '&shop_name=' + this.shop_name + '&shop_type=' + this.shop_type + '&person=' + this.person + '&mobile=' + this.mobile + '&province=' + this.province + '&city=' + this.city + '&area=' + this.area + '&address=' + this.address + '&shop_logo=' + this.shop_logo + '&business_license=' + this.business_license + '&restaurant_license=' + this.restaurant_license + '&content=' + this.content + '&shop_imgs=' + this.shop_imgs + '&opening_bank=' + this.opening_bank + '&bank_card=' + this.bank_card + '&person_average=' + this.person_average;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.down('applyStatus');
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        down: function down(name) {
            this.$router.push({
                name: name
            });
        }
    }
};

/***/ }),
/* 51 */
/***/ (function(module, exports) {

module.exports = {
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 52 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
    props: {
        title: {
            type: String,
            default: "标题"
        },
        operation: {
            type: String,
            default: ""
        }
        // onsubmit: {
        //     type: Function,
        //     required: true,
        //     default: ''
        // }
    },
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png'
        };
    },

    methods: {
        down: function down() {
            this.$router.back();
        }
        // submit: function() {
        //     if(this.onsubmit) {
        //         this.onsubmit('');
        //     } 
        // }
    }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 53 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {}, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"]
  }, [_c('div', {
    staticClass: ["header_top_back"],
    on: {
      "click": _vm.down
    }
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })]), _c('div', {
    staticClass: ["header_top_operation"]
  }, [_vm._v("\n            \t" + _vm._s(_vm.operation) + "\n            ")])]), _c('div', {
    staticClass: ["header_title"]
  }, [_vm._v("\n            " + _vm._s(_vm.title) + "\n        ")])])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 54 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _bindEnv = __webpack_require__(6);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_bindEnv).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 55 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var required = __webpack_require__(56)
  , qs = __webpack_require__(57)
  , protocolre = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i
  , slashes = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//;

/**
 * These are the parse rules for the URL parser, it informs the parser
 * about:
 *
 * 0. The char it Needs to parse, if it's a string it should be done using
 *    indexOf, RegExp using exec and NaN means set as current value.
 * 1. The property we should set when parsing this value.
 * 2. Indication if it's backwards or forward parsing, when set as number it's
 *    the value of extra chars that should be split off.
 * 3. Inherit from location if non existing in the parser.
 * 4. `toLowerCase` the resulting value.
 */
var rules = [
  ['#', 'hash'],                        // Extract from the back.
  ['?', 'query'],                       // Extract from the back.
  function sanitize(address) {          // Sanitize what is left of the address
    return address.replace('\\', '/');
  },
  ['/', 'pathname'],                    // Extract from the back.
  ['@', 'auth', 1],                     // Extract from the front.
  [NaN, 'host', undefined, 1, 1],       // Set left over value.
  [/:(\d+)$/, 'port', undefined, 1],    // RegExp the back.
  [NaN, 'hostname', undefined, 1, 1]    // Set left over.
];

/**
 * These properties should not be copied or inherited from. This is only needed
 * for all non blob URL's as a blob URL does not include a hash, only the
 * origin.
 *
 * @type {Object}
 * @private
 */
var ignore = { hash: 1, query: 1 };

/**
 * The location object differs when your code is loaded through a normal page,
 * Worker or through a worker using a blob. And with the blobble begins the
 * trouble as the location object will contain the URL of the blob, not the
 * location of the page where our code is loaded in. The actual origin is
 * encoded in the `pathname` so we can thankfully generate a good "default"
 * location from it so we can generate proper relative URL's again.
 *
 * @param {Object|String} loc Optional default location object.
 * @returns {Object} lolcation object.
 * @public
 */
function lolcation(loc) {
  var globalVar;

  if (typeof window !== 'undefined') globalVar = window;
  else if (typeof global !== 'undefined') globalVar = global;
  else if (typeof self !== 'undefined') globalVar = self;
  else globalVar = {};

  var location = globalVar.location || {};
  loc = loc || location;

  var finaldestination = {}
    , type = typeof loc
    , key;

  if ('blob:' === loc.protocol) {
    finaldestination = new Url(unescape(loc.pathname), {});
  } else if ('string' === type) {
    finaldestination = new Url(loc, {});
    for (key in ignore) delete finaldestination[key];
  } else if ('object' === type) {
    for (key in loc) {
      if (key in ignore) continue;
      finaldestination[key] = loc[key];
    }

    if (finaldestination.slashes === undefined) {
      finaldestination.slashes = slashes.test(loc.href);
    }
  }

  return finaldestination;
}

/**
 * @typedef ProtocolExtract
 * @type Object
 * @property {String} protocol Protocol matched in the URL, in lowercase.
 * @property {Boolean} slashes `true` if protocol is followed by "//", else `false`.
 * @property {String} rest Rest of the URL that is not part of the protocol.
 */

/**
 * Extract protocol information from a URL with/without double slash ("//").
 *
 * @param {String} address URL we want to extract from.
 * @return {ProtocolExtract} Extracted information.
 * @private
 */
function extractProtocol(address) {
  var match = protocolre.exec(address);

  return {
    protocol: match[1] ? match[1].toLowerCase() : '',
    slashes: !!match[2],
    rest: match[3]
  };
}

/**
 * Resolve a relative URL pathname against a base URL pathname.
 *
 * @param {String} relative Pathname of the relative URL.
 * @param {String} base Pathname of the base URL.
 * @return {String} Resolved pathname.
 * @private
 */
function resolve(relative, base) {
  var path = (base || '/').split('/').slice(0, -1).concat(relative.split('/'))
    , i = path.length
    , last = path[i - 1]
    , unshift = false
    , up = 0;

  while (i--) {
    if (path[i] === '.') {
      path.splice(i, 1);
    } else if (path[i] === '..') {
      path.splice(i, 1);
      up++;
    } else if (up) {
      if (i === 0) unshift = true;
      path.splice(i, 1);
      up--;
    }
  }

  if (unshift) path.unshift('');
  if (last === '.' || last === '..') path.push('');

  return path.join('/');
}

/**
 * The actual URL instance. Instead of returning an object we've opted-in to
 * create an actual constructor as it's much more memory efficient and
 * faster and it pleases my OCD.
 *
 * It is worth noting that we should not use `URL` as class name to prevent
 * clashes with the global URL instance that got introduced in browsers.
 *
 * @constructor
 * @param {String} address URL we want to parse.
 * @param {Object|String} [location] Location defaults for relative paths.
 * @param {Boolean|Function} [parser] Parser for the query string.
 * @private
 */
function Url(address, location, parser) {
  if (!(this instanceof Url)) {
    return new Url(address, location, parser);
  }

  var relative, extracted, parse, instruction, index, key
    , instructions = rules.slice()
    , type = typeof location
    , url = this
    , i = 0;

  //
  // The following if statements allows this module two have compatibility with
  // 2 different API:
  //
  // 1. Node.js's `url.parse` api which accepts a URL, boolean as arguments
  //    where the boolean indicates that the query string should also be parsed.
  //
  // 2. The `URL` interface of the browser which accepts a URL, object as
  //    arguments. The supplied object will be used as default values / fall-back
  //    for relative paths.
  //
  if ('object' !== type && 'string' !== type) {
    parser = location;
    location = null;
  }

  if (parser && 'function' !== typeof parser) parser = qs.parse;

  location = lolcation(location);

  //
  // Extract protocol information before running the instructions.
  //
  extracted = extractProtocol(address || '');
  relative = !extracted.protocol && !extracted.slashes;
  url.slashes = extracted.slashes || relative && location.slashes;
  url.protocol = extracted.protocol || location.protocol || '';
  address = extracted.rest;

  //
  // When the authority component is absent the URL starts with a path
  // component.
  //
  if (!extracted.slashes) instructions[3] = [/(.*)/, 'pathname'];

  for (; i < instructions.length; i++) {
    instruction = instructions[i];

    if (typeof instruction === 'function') {
      address = instruction(address);
      continue;
    }

    parse = instruction[0];
    key = instruction[1];

    if (parse !== parse) {
      url[key] = address;
    } else if ('string' === typeof parse) {
      if (~(index = address.indexOf(parse))) {
        if ('number' === typeof instruction[2]) {
          url[key] = address.slice(0, index);
          address = address.slice(index + instruction[2]);
        } else {
          url[key] = address.slice(index);
          address = address.slice(0, index);
        }
      }
    } else if ((index = parse.exec(address))) {
      url[key] = index[1];
      address = address.slice(0, index.index);
    }

    url[key] = url[key] || (
      relative && instruction[3] ? location[key] || '' : ''
    );

    //
    // Hostname, host and protocol should be lowercased so they can be used to
    // create a proper `origin`.
    //
    if (instruction[4]) url[key] = url[key].toLowerCase();
  }

  //
  // Also parse the supplied query string in to an object. If we're supplied
  // with a custom parser as function use that instead of the default build-in
  // parser.
  //
  if (parser) url.query = parser(url.query);

  //
  // If the URL is relative, resolve the pathname against the base URL.
  //
  if (
      relative
    && location.slashes
    && url.pathname.charAt(0) !== '/'
    && (url.pathname !== '' || location.pathname !== '')
  ) {
    url.pathname = resolve(url.pathname, location.pathname);
  }

  //
  // We should not add port numbers if they are already the default port number
  // for a given protocol. As the host also contains the port number we're going
  // override it with the hostname which contains no port number.
  //
  if (!required(url.port, url.protocol)) {
    url.host = url.hostname;
    url.port = '';
  }

  //
  // Parse down the `auth` for the username and password.
  //
  url.username = url.password = '';
  if (url.auth) {
    instruction = url.auth.split(':');
    url.username = instruction[0] || '';
    url.password = instruction[1] || '';
  }

  url.origin = url.protocol && url.host && url.protocol !== 'file:'
    ? url.protocol +'//'+ url.host
    : 'null';

  //
  // The href is just the compiled result.
  //
  url.href = url.toString();
}

/**
 * This is convenience method for changing properties in the URL instance to
 * insure that they all propagate correctly.
 *
 * @param {String} part          Property we need to adjust.
 * @param {Mixed} value          The newly assigned value.
 * @param {Boolean|Function} fn  When setting the query, it will be the function
 *                               used to parse the query.
 *                               When setting the protocol, double slash will be
 *                               removed from the final url if it is true.
 * @returns {URL} URL instance for chaining.
 * @public
 */
function set(part, value, fn) {
  var url = this;

  switch (part) {
    case 'query':
      if ('string' === typeof value && value.length) {
        value = (fn || qs.parse)(value);
      }

      url[part] = value;
      break;

    case 'port':
      url[part] = value;

      if (!required(value, url.protocol)) {
        url.host = url.hostname;
        url[part] = '';
      } else if (value) {
        url.host = url.hostname +':'+ value;
      }

      break;

    case 'hostname':
      url[part] = value;

      if (url.port) value += ':'+ url.port;
      url.host = value;
      break;

    case 'host':
      url[part] = value;

      if (/:\d+$/.test(value)) {
        value = value.split(':');
        url.port = value.pop();
        url.hostname = value.join(':');
      } else {
        url.hostname = value;
        url.port = '';
      }

      break;

    case 'protocol':
      url.protocol = value.toLowerCase();
      url.slashes = !fn;
      break;

    case 'pathname':
    case 'hash':
      if (value) {
        var char = part === 'pathname' ? '/' : '#';
        url[part] = value.charAt(0) !== char ? char + value : value;
      } else {
        url[part] = value;
      }
      break;

    default:
      url[part] = value;
  }

  for (var i = 0; i < rules.length; i++) {
    var ins = rules[i];

    if (ins[4]) url[ins[1]] = url[ins[1]].toLowerCase();
  }

  url.origin = url.protocol && url.host && url.protocol !== 'file:'
    ? url.protocol +'//'+ url.host
    : 'null';

  url.href = url.toString();

  return url;
}

/**
 * Transform the properties back in to a valid and full URL string.
 *
 * @param {Function} stringify Optional query stringify function.
 * @returns {String} Compiled version of the URL.
 * @public
 */
function toString(stringify) {
  if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify;

  var query
    , url = this
    , protocol = url.protocol;

  if (protocol && protocol.charAt(protocol.length - 1) !== ':') protocol += ':';

  var result = protocol + (url.slashes ? '//' : '');

  if (url.username) {
    result += url.username;
    if (url.password) result += ':'+ url.password;
    result += '@';
  }

  result += url.host + url.pathname;

  query = 'object' === typeof url.query ? stringify(url.query) : url.query;
  if (query) result += '?' !== query.charAt(0) ? '?'+ query : query;

  if (url.hash) result += url.hash;

  return result;
}

Url.prototype = { set: set, toString: toString };

//
// Expose the URL parser and some additional properties that might be useful for
// others or testing.
//
Url.extractProtocol = extractProtocol;
Url.location = lolcation;
Url.qs = qs;

module.exports = Url;


/***/ }),
/* 56 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Check if we're required to add a port number.
 *
 * @see https://url.spec.whatwg.org/#default-port
 * @param {Number|String} port Port number we need to check
 * @param {String} protocol Protocol we need to check against.
 * @returns {Boolean} Is it a default port for the given protocol
 * @api private
 */
module.exports = function required(port, protocol) {
  protocol = protocol.split(':')[0];
  port = +port;

  if (!port) return false;

  switch (protocol) {
    case 'http':
    case 'ws':
    return port !== 80;

    case 'https':
    case 'wss':
    return port !== 443;

    case 'ftp':
    return port !== 21;

    case 'gopher':
    return port !== 70;

    case 'file':
    return false;
  }

  return port !== 0;
};


/***/ }),
/* 57 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var has = Object.prototype.hasOwnProperty
  , undef;

/**
 * Decode a URI encoded string.
 *
 * @param {String} input The URI encoded string.
 * @returns {String} The decoded string.
 * @api private
 */
function decode(input) {
  return decodeURIComponent(input.replace(/\+/g, ' '));
}

/**
 * Simple query string parser.
 *
 * @param {String} query The query string that needs to be parsed.
 * @returns {Object}
 * @api public
 */
function querystring(query) {
  var parser = /([^=?&]+)=?([^&]*)/g
    , result = {}
    , part;

  while (part = parser.exec(query)) {
    var key = decode(part[1])
      , value = decode(part[2]);

    //
    // Prevent overriding of existing properties. This ensures that build-in
    // methods like `toString` or __proto__ are not overriden by malicious
    // querystrings.
    //
    if (key in result) continue;
    result[key] = value;
  }

  return result;
}

/**
 * Transform a query string to an object.
 *
 * @param {Object} obj Object that should be transformed.
 * @param {String} prefix Optional prefix.
 * @returns {String}
 * @api public
 */
function querystringify(obj, prefix) {
  prefix = prefix || '';

  var pairs = []
    , value
    , key;

  //
  // Optionally prefix with a '?' if needed
  //
  if ('string' !== typeof prefix) prefix = '?';

  for (key in obj) {
    if (has.call(obj, key)) {
      value = obj[key];

      //
      // Edge cases where we actually want to encode the value to an empty
      // string instead of the stringified value.
      //
      if (!value && (value === null || value === undef || isNaN(value))) {
        value = '';
      }

      pairs.push(encodeURIComponent(key) +'='+ encodeURIComponent(value));
    }
  }

  return pairs.length ? prefix + pairs.join('&') : '';
}

//
// Expose the module.
//
exports.stringify = querystringify;
exports.parse = querystring;


/***/ }),
/* 58 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(59);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 59 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(60)
)

/* script */
__vue_exports__ = __webpack_require__(61)

/* template */
var __vue_template__ = __webpack_require__(63)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-button\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-77c133fc"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 60 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-btn": {
    "width": "702",
    "height": "88",
    "alignItems": "center",
    "justifyContent": "center",
    "borderRadius": "12",
    "opacity": 1
  },
  "btn-text": {
    "textOverflow": "ellipsis",
    "lines": 1,
    "fontSize": "36",
    "color": "#ffffff"
  }
}

/***/ }),
/* 61 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//

var _type = __webpack_require__(62);

exports.default = {
  props: {
    text: {
      type: String,
      default: '确认'
    },
    size: {
      type: String,
      default: 'none'
    },
    type: {
      type: String,
      default: 'red'
    },
    disabled: {
      type: Boolean,
      default: false
    },
    btnStyle: Object,
    textStyle: Object,
    disabledStyle: Object
  },
  computed: {
    mrBtnStyle: function mrBtnStyle() {
      var type = this.type,
          disabled = this.disabled,
          btnStyle = this.btnStyle,
          size = this.size,
          disabledStyle = this.disabledStyle;


      var mrBtnStyle = _extends({}, _type.STYLE_MAP[type], btnStyle, _type.BUTTON_STYLE_MAP[size]);

      var disabledInStyle = { opacity: 0.2 };
      if (type === 'white') {
        disabledInStyle = { backgroundColor: 'rgba(0, 0, 0, 0.1)' };
      }

      return disabled ? _extends({}, mrBtnStyle, disabledInStyle, disabledStyle, {
        borderWidth: 0
      }) : mrBtnStyle;
    },
    mrTextStyle: function mrTextStyle() {
      var type = this.type,
          disabled = this.disabled,
          textStyle = this.textStyle,
          size = this.size;

      var mrTextStyle = _extends({}, _type.TEXT_STYLE_MAP[type], textStyle, _type.TEXT_FONTSIZE_STYLE_MAP[size]);
      return disabled ? _extends({}, mrTextStyle, { color: '#FFFFFF' }) : mrTextStyle;
    }
  },
  methods: {
    onClicked: function onClicked(e) {
      var type = this.type,
          disabled = this.disabled;

      this.$emit('wxcButtonClicked', { e: e, type: type, disabled: disabled });
    }
  }
};

/***/ }),
/* 62 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
var STYLE_MAP = exports.STYLE_MAP = {
  red: {
    backgroundColor: '#FF5000'
  },
  yellow: {
    backgroundColor: '#FFC900'
  },
  white: {
    backgroundColor: '#FFFFFF',
    borderColor: '#A5A5A5',
    borderWidth: '1px'
  },
  blue: {
    backgroundColor: '#0F8DE8'
  },
  green: {
    backgroundColor: '#19be6b'
  }
};

var TEXT_STYLE_MAP = exports.TEXT_STYLE_MAP = {
  red: {
    color: '#FFFFFF'
  },
  yellow: {
    color: '#FFFFFF'
  },
  blue: {
    color: '#FFFFFF'
  },
  white: {
    color: '#3D3D3D'
  },
  green: {
    color: '#FFFFFF'
  }
};

var BUTTON_STYLE_MAP = exports.BUTTON_STYLE_MAP = {
  full: {
    width: '702px',
    height: '88px'
  },
  big: {
    width: '339px',
    height: '70px'
  },
  medium: {
    width: '218px',
    height: '60px'
  },
  small: {
    width: '157px',
    height: '44px'
  }
};

var TEXT_FONTSIZE_STYLE_MAP = exports.TEXT_FONTSIZE_STYLE_MAP = {
  full: {
    fontSize: '36px'
  },
  big: {
    fontSize: '32px'
  },
  medium: {
    fontSize: '28px'
  },
  small: {
    fontSize: '24px'
  }
};

/***/ }),
/* 63 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-btn"],
    style: _vm.mrBtnStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": _vm.text
    },
    on: {
      "click": _vm.onClicked
    }
  }, [_c('text', {
    staticClass: ["btn-text"],
    style: _vm.mrTextStyle
  }, [_vm._v(_vm._s(_vm.text))])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 64 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(65)
)

/* script */
__vue_exports__ = __webpack_require__(66)

/* template */
var __vue_template__ = __webpack_require__(67)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-cell\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-63bed4b2"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 65 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-cell": {
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24",
    "backgroundColor": "#ffffff"
  },
  "cell-margin": {
    "marginBottom": "24"
  },
  "cell-title": {
    "flex": 1
  },
  "cell-indent": {
    "paddingBottom": "30",
    "paddingTop": "30"
  },
  "has-desc": {
    "paddingBottom": "18",
    "paddingTop": "18"
  },
  "cell-top-border": {
    "borderTopColor": "#e2e2e2",
    "borderTopWidth": "1"
  },
  "cell-bottom-border": {
    "borderBottomColor": "#e2e2e2",
    "borderBottomWidth": "1"
  },
  "cell-label-text": {
    "fontSize": "30",
    "color": "#666666",
    "width": "188",
    "marginRight": "10"
  },
  "cell-arrow-icon": {
    "width": "22",
    "height": "22"
  },
  "cell-content": {
    "color": "#333333",
    "fontSize": "30",
    "lineHeight": "40"
  },
  "cell-desc-text": {
    "color": "#999999",
    "fontSize": "24",
    "lineHeight": "30",
    "marginTop": "4",
    "marginRight": "30"
  },
  "extra-content-text": {
    "fontSize": "28",
    "color": "#999999",
    "marginRight": "4"
  }
}

/***/ }),
/* 66 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  props: {
    label: {
      type: String,
      default: ''
    },
    title: {
      type: String,
      default: ''
    },
    extraContent: {
      type: String,
      default: ''
    },
    desc: {
      type: String,
      default: ''
    },
    link: {
      type: String,
      default: ''
    },
    hasTopBorder: {
      type: Boolean,
      default: false
    },
    hasMargin: {
      type: Boolean,
      default: false
    },
    hasBottomBorder: {
      type: Boolean,
      default: true
    },
    hasArrow: {
      type: Boolean,
      default: false
    },
    arrowIcon: {
      type: String,
      default: 'https://gw.alicdn.com/tfs/TB11zBUpwMPMeJjy1XbXXcwxVXa-22-22.png'
    },
    hasVerticalIndent: {
      type: Boolean,
      default: true
    },
    cellStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    autoAccessible: {
      type: Boolean,
      default: true
    }
  },
  methods: {
    cellClicked: function cellClicked(e) {
      var link = this.link;
      this.$emit('wxcCellClicked', { e: e });
      link && _utils2.default.goToH5Page(link, true);
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 67 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    class: ['wxc-cell', _vm.hasTopBorder && 'cell-top-border', _vm.hasBottomBorder && 'cell-bottom-border', _vm.hasMargin && 'cell-margin', _vm.hasVerticalIndent && 'cell-indent', _vm.desc && 'has-desc'],
    style: _vm.cellStyle,
    attrs: {
      "accessible": _vm.autoAccessible,
      "ariaLabel": (_vm.label + "," + _vm.title + "," + _vm.desc)
    },
    on: {
      "click": _vm.cellClicked
    }
  }, [_vm._t("label", [(_vm.label) ? _c('div', [_c('text', {
    staticClass: ["cell-label-text"]
  }, [_vm._v(_vm._s(_vm.label))])]) : _vm._e()]), _c('div', {
    staticClass: ["cell-title"]
  }, [_vm._t("title", [_c('text', {
    staticClass: ["cell-content"]
  }, [_vm._v(_vm._s(_vm.title))]), (_vm.desc) ? _c('text', {
    staticClass: ["cell-desc-text"]
  }, [_vm._v(_vm._s(_vm.desc))]) : _vm._e()])], 2), _vm._t("value"), _vm._t("default"), (_vm.extraContent) ? _c('text', {
    staticClass: ["extra-content-text"]
  }, [_vm._v(_vm._s(_vm.extraContent))]) : _vm._e(), (_vm.hasArrow) ? _c('image', {
    staticClass: ["cell-arrow-icon"],
    attrs: {
      "src": _vm.arrowIcon,
      "ariaHidden": true
    }
  }) : _vm._e()], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 68 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(17);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 69 */
/***/ (function(module, exports) {

module.exports = {
  "checkbox": {
    "width": "48",
    "height": "48"
  },
  "title-text": {
    "fontSize": "30"
  }
}

/***/ }),
/* 70 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _wxcCell = __webpack_require__(10);

var _wxcCell2 = _interopRequireDefault(_wxcCell);

var _type = __webpack_require__(71);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  components: { WxcCell: _wxcCell2.default },
  props: {
    hasTopBorder: {
      type: Boolean,
      default: false
    },
    hasBottomBorder: {
      type: Boolean,
      default: true
    },
    title: {
      type: String,
      require: true
    },
    value: {
      type: [String, Number, Object],
      require: true
    },
    disabled: {
      type: Boolean,
      default: false
    },
    checked: {
      type: Boolean,
      default: false
    },
    config: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      icon: [_type.CHECKED, _type.UNCHECKED, _type.CHECKED_DISABLED, _type.UNCHECKED_DISABLED],
      color: '#3D3D3D',
      innerChecked: false
    };
  },
  computed: {
    checkIcon: function checkIcon() {
      var icon = this.icon,
          disabled = this.disabled,
          innerChecked = this.innerChecked,
          config = this.config;

      var mergeIcon = [].concat(_toConsumableArray(icon));
      config.checkedIcon && (mergeIcon[0] = config.checkedIcon);
      config.unCheckedIcon && (mergeIcon[1] = config.unCheckedIcon);
      config.checkedDisabledIcon && (mergeIcon[2] = config.checkedDisabledIcon);
      config.unCheckedDisabledIcon && (mergeIcon[3] = config.unCheckedDisabledIcon);
      if (disabled) {
        return mergeIcon[innerChecked ? 2 : 3];
      } else {
        return mergeIcon[innerChecked ? 0 : 1];
      }
    },
    textColor: function textColor() {
      var innerChecked = this.innerChecked,
          disabled = this.disabled,
          config = this.config;

      var checkedColor = config.checkedColor ? config.checkedColor : '#EE9900';
      return innerChecked && !disabled ? checkedColor : '#3D3D3D';
    }
  },
  watch: {
    checked: function checked(newChecked) {
      this.innerChecked = newChecked;
    }
  },
  created: function created() {
    var checked = this.checked;

    this.innerChecked = checked;
  },

  methods: {
    wxcCellClicked: function wxcCellClicked() {
      var disabled = this.disabled,
          innerChecked = this.innerChecked,
          value = this.value;

      if (!disabled) {
        this.innerChecked = !innerChecked;
        this.$emit('wxcCheckBoxItemChecked', { value: value, checked: this.innerChecked });
      }
    }
  }
};

/***/ }),
/* 71 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 2017/10/21.
 */

var CHECKED = exports.CHECKED = 'https://gw.alicdn.com/tfs/TB14fp2pwMPMeJjy1XbXXcwxVXa-72-72.png';
var UNCHECKED = exports.UNCHECKED = 'https://gw.alicdn.com/tfs/TB1U6SbpwMPMeJjy1XcXXXpppXa-72-72.png';
var CHECKED_DISABLED = exports.CHECKED_DISABLED = 'https://gw.alicdn.com/tfs/TB1aPabpwMPMeJjy1XcXXXpppXa-72-72.png';
var UNCHECKED_DISABLED = exports.UNCHECKED_DISABLED = 'https://gw.alicdn.com/tfs/TB1lTuzpwoQMeJjy0FoXXcShVXa-72-72.png';

/***/ }),
/* 72 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('wxc-cell', {
    attrs: {
      "hasTopBorder": _vm.hasTopBorder,
      "hasBottomBorder": _vm.hasBottomBorder,
      "accessible": true,
      "ariaLabel": (_vm.title + ",状态为" + (_vm.checked ? '已选中' : '未选中') + "," + (_vm.disabled ? '不可更改' : '点击可切换'))
    },
    on: {
      "wxcCellClicked": _vm.wxcCellClicked
    }
  }, [_c('text', {
    staticClass: ["title-text"],
    style: {
      color: _vm.textColor
    },
    attrs: {
      "slot": "title"
    },
    slot: "title"
  }, [_vm._v(_vm._s(_vm.title))]), _c('image', {
    staticClass: ["checkbox"],
    attrs: {
      "slot": "value",
      "src": _vm.checkIcon
    },
    slot: "value"
  })])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 73 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(74);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 74 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* script */
__vue_exports__ = __webpack_require__(75)

/* template */
var __vue_template__ = __webpack_require__(76)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-checkbox-list\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 75 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(17);

var _index2 = _interopRequireDefault(_index);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: { WxcCheckbox: _index2.default },
  props: {
    list: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    config: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      checkedList: []
    };
  },
  created: function created() {
    var _this = this;

    var list = this.list;

    if (list && list.length > 0) {
      list.forEach(function (item, i) {
        item.checked && _this.checkedList.push(item.value);
      });
    }
  },

  methods: {
    wxcCheckBoxItemChecked: function wxcCheckBoxItemChecked(e) {
      if (e.checked) {
        this.checkedList.push(e.value);
      } else {
        var index = this.checkedList.indexOf(e.value);
        this.checkedList.splice(index, 1);
      }
      this.$emit('wxcCheckBoxListChecked', { checkedList: this.checkedList });
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 76 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', _vm._l((_vm.list), function(item, i) {
    return _c('wxc-checkbox', _vm._b({
      key: i,
      attrs: {
        "config": _vm.config
      },
      on: {
        "wxcCheckBoxItemChecked": _vm.wxcCheckBoxItemChecked
      }
    }, 'wxc-checkbox', item, false))
  }))
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 77 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(78);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 78 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(79)
)

/* script */
__vue_exports__ = __webpack_require__(80)

/* template */
var __vue_template__ = __webpack_require__(102)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-city\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-2a15a50a"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 79 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-city": {
    "position": "fixed",
    "width": "750",
    "backgroundColor": "#F2F3F4"
  }
}

/***/ }),
/* 80 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var _defaultData = __webpack_require__(81);

var _defaultData2 = _interopRequireDefault(_defaultData);

var _util = __webpack_require__(82);

var Util = _interopRequireWildcard(_util);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _tab = __webpack_require__(83);

var _tab2 = _interopRequireDefault(_tab);

var _wxcSearchbar = __webpack_require__(18);

var _wxcSearchbar2 = _interopRequireDefault(_wxcSearchbar);

var _wxcResult = __webpack_require__(19);

var _wxcResult2 = _interopRequireDefault(_wxcResult);

var _wxcIndexlist = __webpack_require__(20);

var _wxcIndexlist2 = _interopRequireDefault(_wxcIndexlist);

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: { wxcTab: _tab2.default, WxcSearchbar: _wxcSearchbar2.default, WxcResult: _wxcResult2.default, WxcIndexlist: _wxcIndexlist2.default },
  props: {
    animationType: {
      type: String,
      default: 'push'
    },
    inputConfig: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    sourceData: {
      type: Object,
      default: function _default() {
        return _defaultData2.default;
      }
    },
    cityStyleType: {
      type: String,
      default: 'list'
    },
    currentLocation: String,
    cityHeight: {
      type: Number,
      default: 0
    },
    showTab: {
      type: Boolean,
      default: false
    },
    showIndex: {
      type: Boolean,
      default: true
    },
    showNavHeader: {
      type: Boolean,
      default: true
    }
  },
  data: function data() {
    return {
      tId: null,
      saveDefaultSourceData: {},
      onlyShowList: false,
      result: {
        noGoods: {
          pic: 'https://img.alicdn.com/tfs/TB1SpPHkf2H8KJjy0FcXXaDlFXa-200-200.png',
          button: '',
          content: '搜索无结果'
        }
      }
    };
  },
  created: function created() {
    this.saveDefaultSourceData = this.sourceData;
  },

  computed: {
    cityExtendStyle: function cityExtendStyle() {
      return _utils2.default.uiStyle.pageTransitionAnimationStyle(this.animationType);
    },
    currentCityLocationConfig: function currentCityLocationConfig() {
      if (this.currentLocation) {
        return {
          type: this.cityStyleType,
          title: '定位',
          list: [{ name: this.currentLocation, isLocation: true }]
        };
      } else {
        return {};
      }
    },
    normalList: function normalList() {
      return Util.getCities(this.sourceData.cities);
    },
    hotListConfig: function hotListConfig() {
      return {
        type: this.cityStyleType,
        title: '热门',
        list: Util.getCities(this.sourceData.hotCity)
      };
    },
    showError: function showError() {
      var normalList = this.normalList,
          hotListConfig = this.hotListConfig;

      return normalList && normalList.length < 1 && hotListConfig && hotListConfig.list && hotListConfig.list.length < 1;
    },
    listHeight: function listHeight() {
      // 兼容去头逻辑
      var pageHeight = _utils2.default.env.getPageHeight();

      var cityHeight = this.cityHeight;

      if (cityHeight && !isNaN(cityHeight) && cityHeight > 0) {
        pageHeight = cityHeight;
      }
      // searchInput 84
      var tabHeight = this.showTab ? 90 : 0;
      return pageHeight - 84 - tabHeight;
    },
    mergeInputConfig: function mergeInputConfig() {
      return _extends({
        autofocus: false,
        alwaysShowCancel: true,
        placeholder: '中文/拼音/首字母'
      }, this.inputConfig);
    }
  },
  methods: {
    onTabSwitch: function onTabSwitch(e) {
      this.$emit('wxcTabSwitch', e);
    },
    switchTab: function switchTab() {
      var _this = this;

      var i = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;

      setTimeout(function () {
        _this.$refs['wxc-tab'].switchTab(i);
      }, 100);
    },
    onItemClick: function onItemClick(e) {
      this.$refs['wxc-searchbar'].autoBlur();
      this.show(false);
      this.$emit('wxcCityItemSelected', { item: e.item });
    },
    onInput: function onInput(e) {
      var _this2 = this;

      clearTimeout(this.tId);
      var cities = this.sourceData.cities;
      var value = e.value;

      if (value !== '' && cities && cities.length > 0) {
        var queryData = Util.query(cities, String(value).trim());
        this.sourceData = {
          cities: queryData,
          hotCity: []
        };
        this.onlyShowList = true;
      } else {
        this.sourceData = this.saveDefaultSourceData;
        this.onlyShowList = false;
      }
      this.tId = setTimeout(function () {
        _this2.$emit('wxcCityOnInput', {
          value: e.value
        });
      }, 300);
    },
    onCancel: function onCancel() {
      this.autoBlur();
      this.show(false);
      this.$emit('wxcCityCanceled', {});
    },
    onSubmit: function onSubmit(e) {
      this.autoBlur();
      this.$emit('wxcCityOnKeyUpEnter', { value: e.value });
    },
    autoBlur: function autoBlur() {
      var inputRef = this.$refs['wxc-searchbar'];
      inputRef && inputRef.autoBlur();
    },
    show: function show() {
      var status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
      var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;

      var ref = this.$refs.city;
      if (this.animationType === 'push') {
        _utils2.default.animation.pageTransitionAnimation(ref, 'translateX(' + (status ? -750 : 750) + 'px)', status, callback);
      } else if (this.animationType === 'model') {
        _utils2.default.animation.pageTransitionAnimation(ref, 'translateY(' + (status ? -_utils2.default.env.getScreenHeight() : _utils2.default.env.getScreenHeight()) + 'px)', status, callback);
      }
    }
  }
};

/***/ }),
/* 81 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * Created by dianwoda on 2018/1/31.
 */
exports.default = {
  hotCity: [{ cityName: '北京', pinYin: 'beijing', py: 'bj' }, { cityName: '上海', pinYin: 'shanghai', py: 'sh' }, { cityName: '天津', pinYin: 'tianjin', py: 'tj' }, { cityName: '青岛', pinYin: 'qingdao', py: 'qd' }, { cityName: '南京', pinYin: 'nanjing', py: 'nj' }, { cityName: '杭州', pinYin: 'hangzhou', py: 'hz' }, { cityName: '厦门', pinYin: 'xiamen', py: 'xm' }, { cityName: '成都', pinYin: 'chengdu', py: 'cd' }, { cityName: '深圳', pinYin: 'shenzhen', py: 'sz' }, { cityName: '广州', pinYin: 'guangzhou', py: 'gz' }, { cityName: '沈阳', pinYin: 'shenyang', py: 'sy' }, { cityName: '武汉', pinYin: 'wuhan', py: 'wh' }],
  cities: [{ cityName: '北京', pinYin: 'beijing', py: 'bj' }, { cityName: '包头', pinYin: 'baotou', py: 'bt' }, { cityName: '北海', pinYin: 'beihai', py: 'bh' }, { cityName: '宝鸡', pinYin: 'baoji', py: 'bj' }, { cityName: '成都', pinYin: 'chengdu', py: 'cd' }, { cityName: '重庆', pinYin: 'chongqing', py: 'cq' }, { cityName: '长沙', pinYin: 'changsha', py: 'cs' }, { cityName: '长春', pinYin: 'changchun', py: 'cc' }, { cityName: '常州', pinYin: 'changzhou', py: 'cz' }, { cityName: '常德', pinYin: 'changde', py: 'cd' }, { cityName: '沧州', pinYin: 'cangzhou', py: 'cz' }, { cityName: '承德', pinYin: 'chengde', py: 'cd' }, { cityName: '长治', pinYin: 'changzhi', py: 'cz' }, { cityName: '滁州', pinYin: 'chuzhou', py: 'cz' }, { cityName: '大连', pinYin: 'dalian', py: 'dl' }, { cityName: '东莞', pinYin: 'dongguan', py: 'dg' }, { cityName: '大同', pinYin: 'datong', py: 'dt' }, { cityName: '达州', pinYin: 'dazhou', py: 'dz' }, { cityName: '鄂尔多斯', pinYin: 'eerduosi', py: 'eeds' }, { cityName: '恩施', pinYin: 'enshi', py: 'es' }, { cityName: '福州', pinYin: 'fuzhou', py: 'fz' }, { cityName: '佛山', pinYin: 'foshan', py: 'fs' }, { cityName: '抚顺', pinYin: 'fushun', py: 'fs' }, { cityName: '抚州', pinYin: 'fuzhou', py: 'fz' }, { cityName: '防城港', pinYin: 'fangchenggang', py: 'fcg' }, { cityName: '广州', pinYin: 'guangzhou', py: 'gz' }, { cityName: '贵阳', pinYin: 'guiyang', py: 'gy' }, { cityName: '桂林', pinYin: 'guilin', py: 'gl' }, { cityName: '广元', pinYin: 'guangyuan', py: 'gy' }, { cityName: '广安', pinYin: 'guangan', py: 'ga' }, { cityName: '杭州', pinYin: 'hangzhou', py: 'hz' }, { cityName: '哈尔滨', pinYin: 'haerbin', py: 'heb' }, { cityName: '合肥', pinYin: 'hefei', py: 'hf' }, { cityName: '呼和浩特', pinYin: 'huhehaote', py: 'hhht' }, { cityName: '海口', pinYin: 'haikou', py: 'hk' }, { cityName: '黄山', pinYin: 'huangshan', py: 'hs' }, { cityName: '呼伦贝尔', pinYin: 'hulunbeier', py: 'hlbe' }, { cityName: '邯郸', pinYin: 'handan', py: 'hd' }, { cityName: '衡阳', pinYin: 'hengyang', py: 'hy' }, { cityName: '汉中', pinYin: 'hanzhong', py: 'hz' }, { cityName: '济南', pinYin: 'jinan', py: 'jn' }, { cityName: '济宁', pinYin: 'jining', py: 'jn' }, { cityName: '九江', pinYin: 'jiujiang', py: 'jj' }, { cityName: '景德镇', pinYin: 'jingdezhen', py: 'jdz' }, { cityName: '吉林', pinYin: 'jilin', py: 'jl' }, { cityName: '江门', pinYin: 'jiangmen', py: 'jm' }, { cityName: '晋城', pinYin: 'jincheng', py: 'jc' }, { cityName: '嘉峪关', pinYin: 'jiayuguan', py: 'jyg' }, { cityName: '酒泉', pinYin: 'jiuquan', py: 'jq' }, { cityName: '昆明', pinYin: 'kunming', py: 'km' }, { cityName: '克拉玛依', pinYin: 'kelamayi', py: 'klmy' }, { cityName: '兰州', pinYin: 'lanzhou', py: 'lz' }, { cityName: '丽江', pinYin: 'lijiang', py: 'lj' }, { cityName: '洛阳', pinYin: 'luoyang', py: 'ly' }, { cityName: '柳州', pinYin: 'liuzhou', py: 'lz' }, { cityName: '泸州', pinYin: 'luzhou', py: 'lz' }, { cityName: '拉萨', pinYin: 'lasa', py: 'ls' }, { cityName: '临汾', pinYin: 'linfen', py: 'lf' }, { cityName: '乐山', pinYin: 'leshan', py: 'ls' }, { cityName: '聊城', pinYin: 'liaocheng', py: 'lc' }, { cityName: '丽水', pinYin: 'lishui', py: 'ls' }, { cityName: '绵阳', pinYin: 'mianyang', py: 'my' }, { cityName: '梅州', pinYin: 'meizhou', py: 'mz' }, { cityName: '眉山', pinYin: 'meishan', py: 'ms' }, { cityName: '南昌', pinYin: 'nanchang', py: 'nc' }, { cityName: '南京', pinYin: 'nanjing', py: 'nj' }, { cityName: '南宁', pinYin: 'nanning', py: 'nn' }, { cityName: '宁波', pinYin: 'ningbo', py: 'nb' }, { cityName: '南通', pinYin: 'nantong', py: 'nt' }, { cityName: '南充', pinYin: 'nanchong', py: 'nc' }, { cityName: '内江', pinYin: 'neijiang', py: 'nj' }, { cityName: '萍乡', pinYin: 'pingxiang', py: 'px' }, { cityName: '攀枝花', pinYin: 'panzhihua', py: 'pzh' }, { cityName: '青岛', pinYin: 'qingdao', py: 'qd' }, { cityName: '泉州', pinYin: 'quanzhou', py: 'qz' }, { cityName: '上海', pinYin: 'shanghai', py: 'sh' }, { cityName: '深圳', pinYin: 'shenzhen', py: 'sz' }, { cityName: '沈阳', pinYin: 'shenyang', py: 'sy' }, { cityName: '石家庄', pinYin: 'shijiazhuang', py: 'sjz' }, { cityName: '苏州', pinYin: 'suzhou', py: 'sz' }, { cityName: '三亚', pinYin: 'sanya', py: 'sy' }, { cityName: '汕头', pinYin: 'shantou', py: 'st' }, { cityName: '上饶', pinYin: 'shangrao', py: 'sr' }, { cityName: '遂宁', pinYin: 'suining', py: 'sn' }, { cityName: '宿迁', pinYin: 'suqian', py: 'sq' }, { cityName: '天津', pinYin: 'tianjin', py: 'tj' }, { cityName: '太原', pinYin: 'taiyuan', py: 'ty' }, { cityName: '台州', pinYin: 'taizhou', py: 'tz' }, { cityName: '唐山', pinYin: 'tangshan', py: 'ts' }, { cityName: '铁岭', pinYin: 'tieling', py: 'tl' }, { cityName: '武汉', pinYin: 'wuhan', py: 'wh' }, { cityName: '无锡', pinYin: 'wuxi', py: 'wx' }, { cityName: '温州', pinYin: 'wenzhou', py: 'wz' }, { cityName: '乌鲁木齐', pinYin: 'wulumuqi', py: 'wlmq' }, { cityName: '威海', pinYin: 'weihai', py: 'wh' }, { cityName: '渭南', pinYin: 'weinan', py: 'wn' }, { cityName: '西安', pinYin: 'xian', py: 'xa' }, { cityName: '厦门', pinYin: 'xiamen', py: 'xm' }, { cityName: '香港', pinYin: 'xianggang', py: 'xg' }, { cityName: '徐州', pinYin: 'xuzhou', py: 'xz' }, { cityName: '西宁', pinYin: 'xining', py: 'xn' }, { cityName: '襄阳', pinYin: 'xiangyang', py: 'xy' }, { cityName: '新余', pinYin: 'xinyu', py: 'xy' }, { cityName: '许昌', pinYin: 'xuchang', py: 'xc' }, { cityName: '信阳', pinYin: 'xinyang', py: 'xy' }, { cityName: '银川', pinYin: 'yinchuan', py: 'yc' }, { cityName: '宜昌', pinYin: 'yichang', py: 'yc' }, { cityName: '烟台', pinYin: 'yantai', py: 'yt' }, { cityName: '扬州', pinYin: 'yangzhou', py: 'yz' }, { cityName: '宜宾', pinYin: 'yibin', py: 'yb' }, { cityName: '运城', pinYin: 'yuncheng', py: 'yc' }, { cityName: '榆林', pinYin: 'yulin', py: 'yl' }, { cityName: '盐城', pinYin: 'yancheng', py: 'yc' }, { cityName: '岳阳', pinYin: 'yueyang', py: 'yy' }, { cityName: '延安', pinYin: 'yanan', py: 'ya' }, { cityName: '鹰潭', pinYin: 'yingtan', py: 'yt' }, { cityName: '永州', pinYin: 'yongzhou', py: 'yz' }, { cityName: '郑州', pinYin: 'zhengzhou', py: 'zz' }, { cityName: '珠海', pinYin: 'zhuhai', py: 'zh' }, { cityName: '张家界', pinYin: 'zhangjiajie', py: 'zzj' }, { cityName: '中山', pinYin: 'zhongshan', py: 'zs' }, { cityName: '遵义', pinYin: 'zunyi', py: 'zy' }, { cityName: '湛江', pinYin: 'zhanjiang', py: 'zj' }, { cityName: '株洲', pinYin: 'zhuzhou', py: 'zz' }, { cityName: '肇庆', pinYin: 'zhaoqing', py: 'zq' }, { cityName: '枣庄', pinYin: 'zaozhuang', py: 'zz' }, { cityName: '舟山', pinYin: 'zhoushan', py: 'zs' }, { cityName: '自贡', pinYin: 'zigong', py: 'zg' }, { cityName: '资阳', pinYin: 'ziyang', py: 'zy' }, { cityName: '张掖', pinYin: 'zhangye', py: 'zy' }]
};

/***/ }),
/* 82 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getCities = getCities;
exports.query = query;

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function getCities(list) {
  var showDesc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;

  if (list && list.length > 0) {
    var result = list.map(function (v) {
      var o = Object.assign({}, v);

      if (o.suggestName) {
        o.name = o.suggestName;
      }

      if (o.stationName && !o.name) {
        o.name = o.stationName;
      }

      if (o.cityName && !o.name) {
        o.name = o.cityName;
      }

      if (o.code && showDesc) {
        o.desc = o.code;
      }
      return o;
    });
    return result;
  } else {
    return [];
  }
}

function query(source, text) {
  var res = [];
  res = source.filter(function (item) {
    var arr = [];
    var isHave = false;
    Object.keys(item).forEach(function (prop) {
      var itemStr = item[prop];
      _utils2.default.isString(itemStr) && itemStr.split(',').forEach(function (val) {
        arr.push(val);
      });
    });
    arr.some(function (val) {
      isHave = new RegExp('^' + text).test(val);
      return isHave;
    });
    return isHave;
  });
  return res;
}

/***/ }),
/* 83 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(84)
)

/* script */
__vue_exports__ = __webpack_require__(85)

/* template */
var __vue_template__ = __webpack_require__(86)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-city\\tab.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-ff138a04"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 84 */
/***/ (function(module, exports) {

module.exports = {
  "tab-box": {
    "width": "750",
    "flexDirection": "row",
    "justifyContent": "center"
  },
  "tab-item": {
    "flex": 1,
    "height": "90",
    "backgroundColor": "#ffffff",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "tab-item-text": {
    "textAlign": "center",
    "color": "#000000",
    "fontSize": "28"
  },
  "text-selected": {
    "fontWeight": "bold"
  },
  "tab-item-selected-bar": {
    "width": "750",
    "backgroundColor": "#f2f3f4"
  },
  "tab-item-selected-bar-in": {
    "width": "375",
    "justifyContent": "center",
    "alignItems": "center",
    "flexDirection": "row",
    "height": "6"
  },
  "tab-item-active": {
    "backgroundColor": "#ffb200",
    "width": "92",
    "height": "6"
  }
}

/***/ }),
/* 85 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {},
  data: function data() {
    return {
      checkedIndex: 0
    };
  },
  methods: {
    switchTab: function switchTab(index) {
      var animation = weex.requireModule('animation');
      this.checkedIndex = index;
      this.$emit('wxcTabSwitch', {
        index: index
      });
      animation.transition(this.$refs['tab-bar'], {
        styles: {
          transform: 'translateX(' + index * 375 + 'px)'
        },
        duration: 150, // ms
        timingFunction: 'ease',
        delay: 0 // ms
      }, function () {});
    }
  }
};

/***/ }),
/* 86 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    staticClass: ["tab-box"]
  }, _vm._l((['国内', '国际']), function(name, i) {
    return _c('div', {
      key: i,
      staticClass: ["tab-item"],
      on: {
        "click": function($event) {
          _vm.switchTab(i)
        }
      }
    }, [_c('text', {
      staticClass: ["['tab-item-text',", "i===checkedIndex", "&&", "'text-selected']"]
    }, [_vm._v(_vm._s(name))])])
  })), _c('div', {
    staticClass: ["tab-item-selected-bar"]
  }, [_c('div', {
    ref: "tab-bar",
    staticClass: ["tab-item-selected-bar-in"]
  }, [_c('div', {
    staticClass: ["tab-item-active"]
  })])])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 87 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(88)
)

/* script */
__vue_exports__ = __webpack_require__(89)

/* template */
var __vue_template__ = __webpack_require__(91)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-searchbar\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-788a9a37"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 88 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-search-bar": {
    "paddingLeft": "20",
    "paddingRight": "20",
    "backgroundColor": "#ffffff",
    "width": "750",
    "height": "84",
    "flexDirection": "row"
  },
  "wxc-search-bar-yellow": {
    "backgroundColor": "#ffc900"
  },
  "search-bar-input": {
    "position": "absolute",
    "top": "10",
    "paddingTop": 0,
    "paddingBottom": 0,
    "paddingRight": "40",
    "paddingLeft": "60",
    "fontSize": "26",
    "width": "624",
    "height": "64",
    "lineHeight": "64",
    "backgroundColor": "#E5E5E5",
    "borderRadius": "6"
  },
  "search-bar-input-yellow": {
    "backgroundColor": "#fff6d6"
  },
  "search-bar-icon": {
    "position": "absolute",
    "width": "30",
    "height": "30",
    "left": "34",
    "top": "28"
  },
  "search-bar-close": {
    "position": "absolute",
    "width": "30",
    "height": "30",
    "right": "120",
    "top": "28"
  },
  "search-bar-button": {
    "width": "94",
    "height": "36",
    "fontSize": "30",
    "textAlign": "center",
    "backgroundColor": "#ffffff",
    "marginTop": "16",
    "marginRight": 0,
    "color": "#333333",
    "position": "absolute",
    "right": "8",
    "top": "9"
  },
  "search-bar-button-yellow": {
    "backgroundColor": "#FFC900"
  },
  "input-has-dep": {
    "paddingLeft": "240",
    "width": "710"
  },
  "bar-dep": {
    "width": "170",
    "paddingRight": "12",
    "paddingLeft": "12",
    "height": "42",
    "alignItems": "center",
    "flexDirection": "row",
    "position": "absolute",
    "left": "24",
    "top": "22",
    "borderRightStyle": "solid",
    "borderRightWidth": "1",
    "borderRightColor": "#C7C7C7"
  },
  "bar-dep-yellow": {
    "borderRightColor": "#C7C7C7"
  },
  "dep-text": {
    "flex": 1,
    "textAlign": "center",
    "fontSize": "26",
    "color": "#666666",
    "marginRight": "6",
    "lines": 1,
    "textOverflow": "ellipsis"
  },
  "dep-arrow": {
    "width": "24",
    "height": "24"
  },
  "icon-has-dep": {
    "left": "214"
  },
  "disabled-input": {
    "width": "750",
    "height": "64",
    "position": "absolute",
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0)"
  },
  "has-dep-disabled": {
    "width": "550",
    "left": "200"
  }
}

/***/ }),
/* 89 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _type = __webpack_require__(90);

exports.default = {
  props: {
    disabled: {
      type: Boolean,
      default: false
    },
    alwaysShowCancel: {
      type: Boolean,
      default: false
    },
    inputType: {
      type: String,
      default: 'text'
    },
    returnKeyType: {
      type: String,
      default: 'default'
    },
    mod: {
      type: String,
      default: 'default'
    },
    autofocus: {
      type: Boolean,
      default: false
    },
    theme: {
      type: String,
      default: 'gray'
    },
    barStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    defaultValue: {
      type: String,
      default: ''
    },
    placeholder: {
      type: String,
      default: '搜索'
    },
    cancelLabel: {
      type: String,
      default: '取消 '
    },
    depName: {
      type: String,
      default: '杭州'
    }
  },
  computed: {
    needShowCancel: function needShowCancel() {
      return this.alwaysShowCancel || this.showCancel;
    },
    buttonStyle: function buttonStyle() {
      var barStyle = this.barStyle;

      if (barStyle.backgroundColor) {
        return { backgroundColor: barStyle.backgroundColor };
      }
      return {};
    }
  },
  data: function data() {
    return {
      inputIcon: _type.INPUT_ICON,
      closeIcon: _type.CLOSE_ICON,
      arrowIcon: _type.ARROW_ICON,
      showCancel: false,
      showClose: false,
      value: ''

    };
  },
  created: function created() {
    this.defaultValue && (this.value = this.defaultValue);
    if (this.disabled) {
      this.showCancel = false;
      this.showClose = false;
    }
  },

  methods: {
    onBlur: function onBlur() {
      var self = this;
      setTimeout(function () {
        self.showCancel = false;
        self.detectShowClose();
        self.$emit('wxcSearchbarInputOnBlur', { value: self.value });
      }, 10);
    },
    autoBlur: function autoBlur() {
      this.$refs['search-input'].blur();
    },
    onFocus: function onFocus() {
      if (this.isDisabled) {
        return;
      }
      this.showCancel = true;
      this.detectShowClose();
      this.$emit('wxcSearchbarInputOnFocus', { value: this.value });
    },
    closeClicked: function closeClicked() {
      this.value = '';
      this.showCancel && (this.showCancel = false);
      this.showClose && (this.showClose = false);
      this.$emit('wxcSearchbarCloseClicked', { value: this.value });
      this.$emit('wxcSearchbarInputOnInput', { value: this.value });
    },
    onInput: function onInput(e) {
      this.value = e.value;
      this.showCancel = true;
      this.detectShowClose();
      this.$emit('wxcSearchbarInputOnInput', { value: this.value });
    },
    onSubmit: function onSubmit(e) {
      this.onBlur();
      this.value = e.value;
      this.showCancel = true;
      this.detectShowClose();
      this.$emit('wxcSearchbarInputReturned', { value: this.value });
    },
    cancelClicked: function cancelClicked() {
      this.showCancel && (this.showCancel = false);
      this.showClose && (this.showClose = false);
      this.$emit('wxcSearchbarCancelClicked', { value: this.value });
    },
    detectShowClose: function detectShowClose() {
      this.showClose = this.value.length > 0 && this.showCancel;
    },
    depClicked: function depClicked() {
      this.$emit('wxcSearchbarDepChooseClicked', {});
    },
    inputDisabledClicked: function inputDisabledClicked() {
      this.$emit('wxcSearchbarInputDisabledClicked', {});
    },
    setValue: function setValue(value) {
      this.value = value;
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 90 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 2016/10/31.
 */

var INPUT_ICON = exports.INPUT_ICON = "https://gw.alicdn.com/tfs/TB1FZB.pwMPMeJjy1XdXXasrXXa-30-30.png";
var CLOSE_ICON = exports.CLOSE_ICON = "https://gw.alicdn.com/tfs/TB1sZB.pwMPMeJjy1XdXXasrXXa-24-24.png";
var ARROW_ICON = exports.ARROW_ICON = "https://gw.alicdn.com/tfs/TB1vZB.pwMPMeJjy1XdXXasrXXa-24-24.png";

/***/ }),
/* 91 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.mod === 'default') ? _c('div', {
    class: ['wxc-search-bar', 'wxc-search-bar-' + _vm.theme],
    style: _vm.barStyle
  }, [_c('input', {
    ref: "search-input",
    class: ['search-bar-input', 'search-bar-input-' + _vm.theme],
    style: {
      width: _vm.needShowCancel ? '624px' : '710px'
    },
    attrs: {
      "returnKeyType": _vm.returnKeyType,
      "autofocus": _vm.autofocus,
      "disabled": _vm.disabled,
      "value": _vm.value,
      "type": _vm.inputType,
      "placeholder": _vm.placeholder
    },
    on: {
      "blur": _vm.onBlur,
      "focus": _vm.onFocus,
      "input": _vm.onInput,
      "return": _vm.onSubmit
    }
  }), (_vm.disabled) ? _c('div', {
    staticClass: ["disabled-input"],
    on: {
      "click": _vm.inputDisabledClicked
    }
  }) : _vm._e(), _c('image', {
    staticClass: ["search-bar-icon"],
    attrs: {
      "ariaHidden": true,
      "src": _vm.inputIcon
    }
  }), (_vm.showClose) ? _c('image', {
    staticClass: ["search-bar-close"],
    attrs: {
      "ariaHidden": true,
      "src": _vm.closeIcon
    },
    on: {
      "click": _vm.closeClicked
    }
  }) : _vm._e(), (_vm.needShowCancel) ? _c('text', {
    class: ['search-bar-button', 'search-bar-button-' + _vm.theme],
    style: _vm.buttonStyle,
    on: {
      "click": _vm.cancelClicked
    }
  }, [_vm._v(_vm._s(_vm.cancelLabel))]) : _vm._e()]) : _vm._e(), (_vm.mod === 'hasDep') ? _c('div', {
    class: ['wxc-search-bar', 'wxc-search-bar-' + _vm.theme],
    style: _vm.barStyle
  }, [_c('input', {
    class: ['search-bar-input', 'input-has-dep', 'search-bar-input-' + _vm.theme],
    attrs: {
      "disabled": _vm.disabled,
      "autofocus": _vm.autofocus,
      "returnKeyType": _vm.returnKeyType,
      "value": _vm.value,
      "type": _vm.inputType,
      "placeholder": _vm.placeholder
    },
    on: {
      "blur": _vm.onBlur,
      "focus": _vm.onFocus,
      "input": _vm.onInput,
      "return": _vm.onSubmit
    }
  }), (_vm.disabled) ? _c('div', {
    staticClass: ["disabled-input", "has-dep-disabled"],
    on: {
      "click": _vm.inputDisabledClicked
    }
  }) : _vm._e(), _c('div', {
    class: ['bar-dep', '.bar-dep-' + _vm.theme],
    on: {
      "click": _vm.depClicked
    }
  }, [_c('text', {
    staticClass: ["dep-text"]
  }, [_vm._v(_vm._s(_vm.depName))]), _c('image', {
    staticClass: ["dep-arrow"],
    attrs: {
      "src": _vm.arrowIcon,
      "ariaHidden": true
    }
  })]), _c('image', {
    staticClass: ["search-bar-icon", "icon-has-dep"],
    attrs: {
      "ariaHidden": true,
      "src": _vm.inputIcon
    }
  })]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 92 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(93)
)

/* script */
__vue_exports__ = __webpack_require__(94)

/* template */
var __vue_template__ = __webpack_require__(96)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-result\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-9b19c5a6"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 93 */
/***/ (function(module, exports) {

module.exports = {
  "wrap": {
    "position": "absolute",
    "top": 0,
    "left": 0,
    "right": 0,
    "bottom": 0
  },
  "wxc-result": {
    "width": "750",
    "flex": 1,
    "alignItems": "center",
    "backgroundColor": "#f2f3f4"
  },
  "result-image": {
    "width": "320",
    "height": "320"
  },
  "result-content": {
    "marginTop": "36",
    "alignItems": "center"
  },
  "content-text": {
    "fontSize": "30",
    "color": "#A5A5A5",
    "height": "42",
    "lineHeight": "42",
    "textAlign": "center"
  },
  "content-desc": {
    "marginTop": "10"
  },
  "result-button": {
    "marginTop": "60",
    "borderWidth": "1",
    "borderColor": "#979797",
    "backgroundColor": "#FFFFFF",
    "borderRadius": "6",
    "width": "240",
    "height": "72",
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "button-text": {
    "color": "#666666",
    "fontSize": "30"
  }
}

/***/ }),
/* 94 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _type = __webpack_require__(95);

var _type2 = _interopRequireDefault(_type);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    type: {
      type: String,
      default: 'errorPage'
    },
    show: {
      type: Boolean,
      default: true
    },
    wrapStyle: Object,
    paddingTop: {
      type: [Number, String],
      default: 232
    },
    customSet: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  computed: {
    resultType: function resultType() {
      var type = this.type,
          customSet = this.customSet;

      var allTypes = _utils2.default.isEmptyObject(customSet) ? _type2.default : _utils2.default.mergeDeep(_type2.default, customSet);
      var types = allTypes['errorPage'];
      if (Object.keys(allTypes).indexOf(type) > -1) {
        types = allTypes[type];
      }
      return types;
    },
    setPaddingTop: function setPaddingTop() {
      var paddingTop = this.paddingTop;
      return paddingTop + 'px';
    }
  },
  methods: {
    handleTouchEnd: function handleTouchEnd(e) {
      // web上面有点击穿透问题
      var platform = weex.config.env.platform;

      platform === 'Web' && e.preventDefault && e.preventDefault();
    },
    onClick: function onClick() {
      var type = this.type;
      this.$emit('wxcResultButtonClicked', { type: type });
    }
  }
};

/***/ }),
/* 95 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 2016/11/4.
 */

exports.default = {
  errorPage: {
    pic: 'https://img.alicdn.com/tfs/TB17blphfDH8KJjy1XcXXcpdXXa-320-320.png',
    content: '抱歉出错了，我们正在全力解决中',
    button: '再试一次',
    title: '出错啦'
  },
  noGoods: {
    pic: 'https://img.alicdn.com/tfs/TB1mPWEeOqAXuNjy1XdXXaYcVXa-320-320.png',
    content: '主人，这里什么都没有找到',
    button: '再试一次',
    title: '暂无商品'
  },
  noNetwork: {
    pic: 'https://img.alicdn.com/tfs/TB1jkA5g9_I8KJjy0FoXXaFnVXa-320-320.png',
    content: '哎呀，没有网络了......',
    button: '刷新一下',
    title: '无网络'
  },
  errorLocation: {
    pic: 'https://img.alicdn.com/tfs/TB1zXXahhrI8KJjy0FpXXb5hVXa-320-320.png',
    content: '哎呀，定位失败了......',
    button: '刷新一下',
    title: '定位失败'
  }
};

/***/ }),
/* 96 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (_vm.show) ? _c('div', {
    staticClass: ["wrap"],
    style: _vm.wrapStyle
  }, [_c('div', {
    staticClass: ["wxc-result"],
    style: {
      paddingTop: _vm.setPaddingTop
    }
  }, [_c('image', {
    staticClass: ["result-image"],
    attrs: {
      "ariaHidden": true,
      "src": _vm.resultType.pic
    }
  }), (_vm.resultType.content) ? _c('div', {
    staticClass: ["result-content"]
  }, [_c('text', {
    staticClass: ["content-text"]
  }, [_vm._v(_vm._s(_vm.resultType.content))]), (_vm.resultType.desc) ? _c('text', {
    staticClass: ["content-text", "content-desc"]
  }, [_vm._v(_vm._s(_vm.resultType.desc))]) : _vm._e()]) : _vm._e(), (_vm.resultType.button) ? _c('div', {
    staticClass: ["result-button"],
    on: {
      "touchend": _vm.handleTouchEnd,
      "click": _vm.onClick
    }
  }, [_c('text', {
    staticClass: ["button-text"]
  }, [_vm._v(_vm._s(_vm.resultType.button))])]) : _vm._e()])]) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 97 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(98)
)

/* script */
__vue_exports__ = __webpack_require__(99)

/* template */
var __vue_template__ = __webpack_require__(101)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-indexlist\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1227ba08"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 98 */
/***/ (function(module, exports) {

module.exports = {
  "index-list": {
    "width": "750",
    "height": "1334"
  },
  "index-list-title": {
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(32,35,37,0.15)",
    "backgroundColor": "#FBFBFB",
    "fontSize": "24",
    "color": "#666666",
    "height": "48",
    "lineHeight": "48",
    "paddingLeft": "24",
    "width": "750"
  },
  "group-title": {
    "borderBottomWidth": 0,
    "paddingBottom": 0,
    "height": "60",
    "paddingTop": "24"
  },
  "index-list-item": {
    "width": "750",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "#e0e0e0",
    "height": "92",
    "paddingLeft": "24",
    "paddingRight": "24",
    "backgroundColor": "#FFFFFF"
  },
  "iphone-x": {
    "height": "68"
  },
  "title": {
    "fontSize": "32",
    "color": "#3D3D3D"
  },
  "desc": {
    "fontSize": "24",
    "color": "#A5A5A5",
    "marginLeft": "30"
  },
  "index-list-nav": {
    "position": "absolute",
    "top": 0,
    "right": 0,
    "marginBottom": "60",
    "marginTop": "60",
    "paddingBottom": "20",
    "paddingTop": "20",
    "width": "70"
  },
  "list-nav-key": {
    "textAlign": "center",
    "fontSize": "24",
    "height": "40",
    "color": "#666666"
  },
  "index-list-pop": {
    "position": "fixed",
    "top": "550",
    "left": "316",
    "width": "120",
    "height": "120",
    "textAlign": "center",
    "justifyContent": "center",
    "backgroundColor": "rgba(32,35,37,0.6)",
    "borderBottomLeftRadius": "60",
    "borderBottomRightRadius": "60",
    "borderTopLeftRadius": "60",
    "borderTopRightRadius": "60",
    "paddingLeft": 0,
    "paddingRight": 0,
    "paddingTop": "35",
    "paddingBottom": "35",
    "color": "#ffffff"
  },
  "list-pop-text": {
    "fontSize": "40",
    "textAlign": "center",
    "color": "#ffffff"
  },
  "group": {
    "paddingBottom": "18",
    "paddingRight": "70",
    "backgroundColor": "#FBFBFB"
  },
  "group-list": {
    "flexDirection": "row",
    "marginLeft": "18",
    "marginTop": "18"
  },
  "group-item": {
    "width": "146",
    "height": "64",
    "borderWidth": "1",
    "borderColor": "#e0e0e0",
    "marginRight": "18",
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "center",
    "backgroundColor": "#ffffff"
  },
  "item-name": {
    "fontSize": "24",
    "lineHeight": "26",
    "color": "#333333"
  },
  "item-desc": {
    "marginTop": "2",
    "color": "#999999",
    "fontSize": "20",
    "textAlign": "center"
  },
  "location-icon": {
    "width": "32",
    "height": "32",
    "marginRight": "8"
  }
}

/***/ }),
/* 99 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _format = __webpack_require__(100);

var Format = _interopRequireWildcard(_format);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var dom = weex.requireModule('dom');
exports.default = {
  props: {
    height: {
      type: [Number, String],
      default: _utils2.default.env.getPageHeight()
    },
    normalList: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    onlyShowList: {
      type: Boolean,
      default: false
    },
    showIndex: {
      type: Boolean,
      default: true
    },
    needAnimation: {
      type: Boolean,
      default: true
    },
    hotListConfig: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    // 城市选择子组件 特殊情况支持
    cityLocationConfig: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    headerStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    navStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    navTextStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    popStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    popTextStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    itemStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    itemTextStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    itemDescStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    groupWrapStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    groupItemStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    groupItemTextStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    groupItemDescStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  created: function created() {
    this.isIPhoneX = _utils2.default.env.isIPhoneX();
  },

  computed: {
    formatList: function formatList() {
      var normalList = this.normalList,
          hotListConfig = this.hotListConfig,
          cityLocationConfig = this.cityLocationConfig;

      return Format.totalList(normalList, hotListConfig, cityLocationConfig);
    }
  },
  data: function data() {
    return {
      popKeyShow: false,
      popKey: '',
      navOffsetY: 0,
      timer: null
    };
  },
  methods: {
    itemClicked: function itemClicked(item) {
      this.$emit('wxcIndexlistItemClicked', {
        item: item
      });
    },
    go2Key: function go2Key(key) {
      var _this = this;

      var keyEl = this.$refs['index-item-title-' + key][0];
      keyEl && dom.scrollToElement(keyEl, {
        offset: 0,
        animated: this.needAnimation
      });
      this.popKey = key;
      this.popKeyShow = true;
      this.timer && clearTimeout(this.timer);
      this.timer = setTimeout(function () {
        _this.popKeyShow = false;
      }, 600);
    }
  }
};

/***/ }),
/* 100 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.totalList = totalList;
exports.getSpecialData = getSpecialData;

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * 根据26个字母取每一项首字母对数据进行排序,处理数据变换
 * @return {[array]}
 */
function totalList(source, hotListConfig, cityLocationConfig) {
  var LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
  var res = [];
  LETTERS.split('').forEach(function (letter) {
    var _data = source.filter(function (item) {
      if (item.pinYin) {
        return item.pinYin.slice(0, 1).toLowerCase() === letter.toLowerCase();
      } else if (item.py) {
        return item.py.slice(0, 1).toLowerCase() === letter.toLowerCase();
      } else {
        return false;
      }
    });
    if (_data.length) {
      res.push({
        title: letter,
        data: _data,
        type: 'list'
      });
    }
  });

  // 处理热门数据
  var hotList = getSpecialData(hotListConfig);
  hotList && res.unshift(hotList);

  // 处理特殊定位数据
  var cityLocation = getSpecialData(cityLocationConfig);
  cityLocation && res.unshift(cityLocation);

  return res;
} /**
   * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
   * Created by Tw93 on 17/11/01
   */

function getSpecialData(data) {
  if (data && data.type && data.list && data.list.length > 0) {
    var type = data.type,
        title = data.title,
        list = data.list;

    return {
      title: title,
      type: type,
      data: type === 'group' ? _utils2.default.arrayChunk(list) : list
    };
  } else {
    return null;
  }
}

/***/ }),
/* 101 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('list', {
    staticClass: ["index-list"],
    style: {
      height: _vm.height + 'px'
    }
  }, [_c('cell', {
    appendAsTree: true,
    attrs: {
      "append": "tree"
    }
  }, [_vm._t("head")], 2), _vm._l((_vm.formatList), function(v, i) {
    return _c('cell', {
      key: i,
      ref: 'index-item-title-' + v.title,
      refInFor: true,
      appendAsTree: true,
      attrs: {
        "append": "tree"
      }
    }, [(!_vm.onlyShowList) ? _c('text', {
      class: ['index-list-title', v.type && v.type == 'group' && 'group-title'],
      style: _vm.headerStyle
    }, [_vm._v(_vm._s(v.title))]) : _vm._e(), (v.type && v.type === 'group' && !_vm.onlyShowList) ? _c('div', {
      staticClass: ["group"],
      style: _vm.groupWrapStyle
    }, _vm._l((v.data), function(group, index) {
      return _c('div', {
        key: index,
        staticClass: ["group-list"]
      }, _vm._l((group), function(item, i) {
        return _c('div', {
          key: i,
          staticClass: ["group-item"],
          style: _vm.groupItemStyle,
          attrs: {
            "accessible": true,
            "ariaLabel": ((item.name) + "," + (item.desc?item.desc:''))
          },
          on: {
            "click": function($event) {
              _vm.itemClicked(item)
            }
          }
        }, [(item.isLocation) ? _c('image', {
          staticClass: ["location-icon"],
          attrs: {
            "src": "https://gw.alicdn.com/tfs/TB1JUiUPFXXXXXUXXXXXXXXXXXX-32-32.png"
          }
        }) : _vm._e(), _c('div', [_c('text', {
          staticClass: ["item-name"],
          style: _vm.groupItemTextStyle
        }, [_vm._v(_vm._s(item.name))]), (item.desc) ? _c('text', {
          staticClass: ["item-desc"],
          style: _vm.groupItemDescStyle
        }, [_vm._v(_vm._s(item.desc))]) : _vm._e()])])
      }))
    })) : _vm._e(), (v.type === 'list') ? _c('div', _vm._l((v.data), function(item, index) {
      return _c('div', {
        key: index,
        staticClass: ["index-list-item"],
        style: _vm.itemStyle,
        attrs: {
          "accessible": true,
          "ariaLabel": ((item.name) + "," + (item.desc?item.desc:''))
        },
        on: {
          "click": function($event) {
            _vm.itemClicked(item)
          }
        }
      }, [_c('text', {
        staticClass: ["title"],
        style: _vm.itemTextStyle
      }, [_vm._v(_vm._s(item.name))]), _c('text', {
        staticClass: ["desc"],
        style: _vm.itemDescStyle
      }, [_vm._v(_vm._s(item.desc))])])
    })) : _vm._e()])
  }), (_vm.isIPhoneX) ? _c('cell', {
    staticClass: ["iphone-x"],
    appendAsTree: true,
    attrs: {
      "append": "tree"
    }
  }) : _vm._e()], 2), (_vm.showIndex && !_vm.onlyShowList) ? _c('div', {
    staticClass: ["index-list-nav"],
    style: _vm.navStyle
  }, _vm._l((_vm.formatList), function(item, index) {
    return _c('text', {
      key: index,
      staticClass: ["list-nav-key"],
      style: _vm.navTextStyle,
      attrs: {
        "title": item.title
      },
      on: {
        "click": function($event) {
          _vm.go2Key(item.title)
        }
      }
    }, [_vm._v(_vm._s(item.title))])
  })) : _vm._e(), (_vm.popKeyShow) ? _c('div', {
    staticClass: ["index-list-pop"],
    style: _vm.popStyle
  }, [_c('text', {
    staticClass: ["list-pop-text"],
    style: _vm.popTextStyle
  }, [_vm._v(_vm._s(_vm.popKey))])]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 102 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    ref: "city",
    staticClass: ["wxc-city"],
    style: _vm.cityExtendStyle
  }, [_c('wxc-searchbar', _vm._b({
    ref: "wxc-searchbar",
    on: {
      "wxcSearchbarInputOnInput": _vm.onInput,
      "wxcSearchbarInputReturned": _vm.onSubmit,
      "wxcSearchbarCancelClicked": _vm.onCancel
    }
  }, 'wxc-searchbar', _vm.mergeInputConfig, false)), (_vm.showTab) ? _c('wxc-tab', {
    ref: "wxc-tab",
    on: {
      "wxcTabSwitch": _vm.onTabSwitch
    }
  }) : _vm._e(), _c('wxc-indexlist', {
    attrs: {
      "normalList": _vm.normalList,
      "hotListConfig": _vm.hotListConfig,
      "navStyle": {
        top: '24px'
      },
      "height": _vm.listHeight,
      "showIndex": _vm.showIndex,
      "onlyShowList": !_vm.showNavHeader || _vm.onlyShowList,
      "cityLocationConfig": _vm.currentCityLocationConfig
    },
    on: {
      "wxcIndexlistItemClicked": _vm.onItemClick
    }
  }), (_vm.showError) ? _c('wxc-result', {
    attrs: {
      "type": "noGoods",
      "wrapStyle": {
        top: '84px'
      },
      "show": true,
      "customSet": _vm.result
    }
  }) : _vm._e()], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 103 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(104);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 104 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(105)
)

/* script */
__vue_exports__ = __webpack_require__(106)

/* template */
var __vue_template__ = __webpack_require__(107)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-countdown\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-15ee4906"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 105 */
/***/ (function(module, exports) {

module.exports = {
  "time-dot-wrap": {
    "flexDirection": "row",
    "alignItems": "center"
  }
}

/***/ }),
/* 106 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    // 时间戳
    time: {
      type: Number,
      default: 1501200000000
    },
    // 倒计时的间隔,单位为"毫秒"
    interval: {
      type: Number,
      default: 1000
    },
    tpl: {
      type: String,
      default: '{h}:{m}:{s}'
    },
    // 最外层包裹 style
    timeWrapStyle: Object,
    // 数字盒子 style
    timeBoxStyle: Object,
    // : 盒子Style
    dotBoxStyle: Object,
    // 数字文字 Style
    timeTextStyle: Object,
    // : 文字Style
    dotTextStyle: Object
  },
  data: function data() {
    return {
      NOW_DATE: new Date().getTime(),
      completed: false,
      tplIndexOfDays: -1,
      tplIndexOfHours: -1,
      tplIndexOfMinutes: -1,
      tplIndexOfSeconds: -1,
      TIME_WRAP_STYLE: {
        flexDirection: 'row',
        alignItems: 'center',
        marginLeft: '12px',
        marginRight: '12px'
      },
      TIME_BOX_STYLE: {
        flexDirection: 'row',
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#333333',
        height: '30px',
        width: '30px'
      },
      DOT_BOX_STYLE: {
        width: '18px',
        flexDirection: 'row',
        justifyContent: 'center',
        alignItems: 'center'
      },
      TIME_TEXT_STYLE: {
        color: '#FFCC80',
        fontSize: '18px'
      },
      DOT_TEXT_STYLE: {
        color: '#333333',
        fontSize: '18px',
        fontWeight: 'bold'
      }
    };
  },
  mounted: function mounted() {
    var _this = this;

    setInterval(function () {
      _this.NOW_DATE = new Date().getTime();
    }, this.interval);

    this.tplIndexOfDays = this.tpl.indexOf('d');
    this.tplIndexOfHours = this.tpl.indexOf('h');
    this.tplIndexOfMinutes = this.tpl.indexOf('m');
    this.tplIndexOfSeconds = this.tpl.indexOf('s');
  },

  computed: {
    mrTimeWrapStyle: function mrTimeWrapStyle() {
      return _extends({}, this.TIME_WRAP_STYLE, this.timeWrapStyle);
    },
    mrTimeBoxStyle: function mrTimeBoxStyle() {
      return _extends({}, this.TIME_BOX_STYLE, this.timeBoxStyle);
    },
    mrDotBoxStyle: function mrDotBoxStyle() {
      return _extends({}, this.DOT_BOX_STYLE, this.dotBoxStyle);
    },
    mrTimeTextStyle: function mrTimeTextStyle() {
      return _extends({}, this.TIME_TEXT_STYLE, this.timeTextStyle);
    },
    mrDotTextStyle: function mrDotTextStyle() {
      return _extends({}, this.DOT_TEXT_STYLE, this.dotTextStyle);
    },
    countDownData: function countDownData() {
      var timeSpacing = this.time - this.NOW_DATE;

      // 倒计时结束了
      if (timeSpacing < 0) {
        if (this.completed === false) {
          this.$emit('wxcOnComplete');
        }
        this.completed = true;
        return {
          day: '00',
          hour: '00',
          minute: '00',
          second: '00'
        };
      }

      var day = 0;
      var hour = 0;
      var minute = 0;
      var second = 0;

      if (this.tplIndexOfDays !== -1) {
        day = Math.floor(timeSpacing / (24 * 60 * 60 * 1000));
        hour = Math.floor(timeSpacing % (24 * 60 * 60 * 1000) / (60 * 60 * 1000));
      } else {
        day = 0;
        hour = Math.floor(timeSpacing / (60 * 60 * 1000));
      }

      if (this.tplIndexOfHours !== -1) {
        hour = Math.floor((timeSpacing - day * 24 * 60 * 60 * 1000) / (60 * 60 * 1000));
        minute = Math.floor((timeSpacing - day * 24 * 60 * 60 * 1000) % (60 * 60 * 1000) / (60 * 1000));
      } else {
        hour = 0;
        minute = Math.floor((timeSpacing - day * 24 * 60 * 60 * 1000) / (60 * 1000));
      }

      if (this.tplIndexOfMinutes !== -1) {
        minute = Math.floor((timeSpacing - day * 24 * 60 * 60 * 1000 - hour * 60 * 60 * 1000) / (60 * 1000));
        second = Math.floor((timeSpacing - day * 24 * 60 * 60 * 1000 - hour * 60 * 60 * 1000) % (60 * 1000) / 1000);
      } else {
        minute = 0;
        second = Math.floor((timeSpacing - day * 24 * 60 * 60 * 1000 - hour * 60 * 60 * 1000) / 1000);
      }

      return {
        day: day < 10 ? '0' + day : '' + day,
        hour: hour < 10 ? '0' + hour : '' + hour,
        minute: minute < 10 ? '0' + minute : '' + minute,
        second: second < 10 ? '0' + second : '' + second
      };
    }
  },

  methods: {
    getDot: function getDot(prevTagIndex) {
      var nextTagIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;

      if (nextTagIndex === -1) {
        return this.tpl.slice(prevTagIndex + 2);
      }
      return this.tpl.slice(prevTagIndex + 2, nextTagIndex - 1);
    }
  }
};

/***/ }),
/* 107 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    style: _vm.mrTimeWrapStyle
  }, [_c('div', {
    staticClass: ["time-dot-wrap"]
  }, [(_vm.tplIndexOfDays !== -1) ? _c('div', {
    style: _vm.mrTimeBoxStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": ((_vm.countDownData.day) + "天")
    }
  }, [_c('text', {
    style: _vm.mrTimeTextStyle
  }, [_vm._v(_vm._s(_vm.countDownData.day))])]) : _vm._e(), (_vm.tplIndexOfDays !== -1) ? _c('div', {
    style: _vm.mrDotBoxStyle,
    attrs: {
      "ariaHidden": true
    }
  }, [_c('text', {
    style: _vm.mrDotTextStyle
  }, [_vm._v(_vm._s(_vm.getDot(_vm.tplIndexOfDays, _vm.tplIndexOfHours)))])]) : _vm._e(), (_vm.tplIndexOfHours !== -1) ? _c('div', {
    style: _vm.mrTimeBoxStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": ((_vm.countDownData.hour) + "时")
    }
  }, [_c('text', {
    style: _vm.mrTimeTextStyle
  }, [_vm._v(_vm._s(_vm.countDownData.hour))])]) : _vm._e(), (_vm.tplIndexOfHours !== -1) ? _c('div', {
    style: _vm.mrDotBoxStyle,
    attrs: {
      "ariaHidden": true
    }
  }, [_c('text', {
    style: _vm.mrDotTextStyle
  }, [_vm._v(_vm._s(_vm.getDot(_vm.tplIndexOfHours, _vm.tplIndexOfMinutes)))])]) : _vm._e(), (_vm.tplIndexOfMinutes !== -1) ? _c('div', {
    style: _vm.mrTimeBoxStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": ((_vm.countDownData.minute) + "分")
    }
  }, [_c('text', {
    style: _vm.mrTimeTextStyle
  }, [_vm._v(_vm._s(_vm.countDownData.minute))])]) : _vm._e(), (_vm.tplIndexOfMinutes !== -1) ? _c('div', {
    style: _vm.mrDotBoxStyle,
    attrs: {
      "ariaHidden": true
    }
  }, [_c('text', {
    style: _vm.mrDotTextStyle
  }, [_vm._v(_vm._s(_vm.getDot(_vm.tplIndexOfMinutes, _vm.tplIndexOfSeconds)))])]) : _vm._e(), (_vm.tplIndexOfSeconds !== -1) ? _c('div', {
    style: _vm.mrTimeBoxStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": ((_vm.countDownData.second) + "秒")
    }
  }, [_c('text', {
    style: _vm.mrTimeTextStyle
  }, [_vm._v(_vm._s(_vm.countDownData.second))])]) : _vm._e(), (_vm.tplIndexOfSeconds !== -1) ? _c('div', {
    style: _vm.mrDotBoxStyle,
    attrs: {
      "ariaHidden": true
    }
  }, [_c('text', {
    style: _vm.mrDotTextStyle
  }, [_vm._v(_vm._s(_vm.getDot(_vm.tplIndexOfSeconds, -1)))])]) : _vm._e()])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 108 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(109);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 109 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(110)
)

/* script */
__vue_exports__ = __webpack_require__(111)

/* template */
var __vue_template__ = __webpack_require__(117)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-dialog\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-072b1898"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 110 */
/***/ (function(module, exports) {

module.exports = {
  "container": {
    "position": "fixed",
    "width": "750",
    "zIndex": 99999
  },
  "dialog-box": {
    "position": "fixed",
    "left": "96",
    "width": "558",
    "backgroundColor": "#FFFFFF"
  },
  "dialog-content": {
    "paddingTop": "36",
    "paddingBottom": "36",
    "paddingLeft": "36",
    "paddingRight": "36"
  },
  "content-title": {
    "color": "#333333",
    "fontSize": "36",
    "textAlign": "center",
    "marginBottom": "24"
  },
  "content-subtext": {
    "color": "#666666",
    "fontSize": "26",
    "lineHeight": "36",
    "textAlign": "center"
  },
  "dialog-footer": {
    "flexDirection": "row",
    "alignItems": "center",
    "borderTopColor": "#F3F3F3",
    "borderTopWidth": "1"
  },
  "footer-btn": {
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "center",
    "flex": 1,
    "height": "90"
  },
  "cancel": {
    "borderRightColor": "#F3F3F3",
    "borderRightWidth": "1"
  },
  "btn-text": {
    "fontSize": "36",
    "color": "#666666"
  },
  "no-prompt": {
    "width": "486",
    "alignItems": "center",
    "justifyContent": "center",
    "flexDirection": "row",
    "marginTop": "24"
  },
  "no-prompt-icon": {
    "width": "24",
    "height": "24",
    "marginRight": "12"
  },
  "no-prompt-text": {
    "fontSize": "24",
    "color": "#A5A5A5"
  }
}

/***/ }),
/* 111 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _wxcOverlay = __webpack_require__(8);

var _wxcOverlay2 = _interopRequireDefault(_wxcOverlay);

var _type = __webpack_require__(116);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  components: { WxcOverlay: _wxcOverlay2.default },
  props: {
    show: {
      type: Boolean,
      default: false
    },
    single: {
      type: Boolean,
      default: false
    },
    title: {
      type: String,
      default: ''
    },
    content: {
      type: String,
      default: ''
    },
    top: {
      type: Number,
      default: 400
    },
    cancelText: {
      type: String,
      default: '取消'
    },
    confirmText: {
      type: String,
      default: '确定'
    },
    mainBtnColor: {
      type: String,
      default: '#EE9900'
    },
    secondBtnColor: {
      type: String,
      default: '#666666'
    },
    showNoPrompt: {
      type: Boolean,
      default: false
    },
    noPromptText: {
      type: String,
      default: '不再提示'
    },
    isChecked: {
      type: Boolean,
      default: false
    }
  },
  data: function data() {
    return {
      noPromptIcon: _type.UN_CHECKED,
      pageHeight: 1334
    };
  },
  created: function created() {
    var _weex$config$env = weex.config.env,
        deviceHeight = _weex$config$env.deviceHeight,
        deviceWidth = _weex$config$env.deviceWidth;

    this.pageHeight = deviceHeight / deviceWidth * 750;
  },

  methods: {
    secondaryClicked: function secondaryClicked() {
      this.$emit('wxcDialogCancelBtnClicked', {
        type: 'cancel'
      });
    },
    primaryClicked: function primaryClicked(e) {
      this.$emit('wxcDialogConfirmBtnClicked', {
        type: 'confirm'
      });
    },
    noPromptClicked: function noPromptClicked(e) {
      var isChecked = !this.isChecked;
      this.noPromptIcon = isChecked ? _type.CHECKED : _type.UN_CHECKED;
      this.$emit('wxcDialogNoPromptClicked', { isChecked: isChecked });
    }
  }
};

/***/ }),
/* 112 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(113)
)

/* script */
__vue_exports__ = __webpack_require__(114)

/* template */
var __vue_template__ = __webpack_require__(115)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-overlay\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-5dc5d348"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 113 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-overlay": {
    "width": "750",
    "position": "fixed",
    "left": 0,
    "top": 0,
    "bottom": 0,
    "right": 0
  }
}

/***/ }),
/* 114 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');
exports.default = {
  props: {
    show: {
      type: Boolean,
      default: true
    },
    hasAnimation: {
      type: Boolean,
      default: true
    },
    duration: {
      type: [Number, String],
      default: 300
    },
    timingFunction: {
      type: Array,
      default: function _default() {
        return ['ease-in', 'ease-out'];
      }
    },
    opacity: {
      type: [Number, String],
      default: 0.6
    },
    canAutoClose: {
      type: Boolean,
      default: true
    }
  },
  computed: {
    overlayStyle: function overlayStyle() {
      return {
        opacity: this.hasAnimation ? 0 : 1,
        backgroundColor: 'rgba(0, 0, 0,' + this.opacity + ')'
      };
    },
    shouldShow: function shouldShow() {
      var _this = this;

      var show = this.show,
          hasAnimation = this.hasAnimation;

      hasAnimation && setTimeout(function () {
        _this.appearOverlay(show);
      }, 50);
      return show;
    }
  },
  methods: {
    overlayClicked: function overlayClicked(e) {
      this.canAutoClose ? this.appearOverlay(false) : this.$emit('wxcOverlayBodyClicked', {});
    },
    appearOverlay: function appearOverlay(bool) {
      var _this2 = this;

      var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.duration;
      var hasAnimation = this.hasAnimation,
          timingFunction = this.timingFunction,
          canAutoClose = this.canAutoClose;

      var needEmit = !bool && canAutoClose;
      needEmit && this.$emit('wxcOverlayBodyClicking', {});
      var overlayEl = this.$refs['wxc-overlay'];
      if (hasAnimation && overlayEl) {
        animation.transition(overlayEl, {
          styles: {
            opacity: bool ? 1 : 0
          },
          duration: duration,
          timingFunction: timingFunction[bool ? 0 : 1],
          delay: 0
        }, function () {
          needEmit && _this2.$emit('wxcOverlayBodyClicked', {});
        });
      } else {
        needEmit && this.$emit('wxcOverlayBodyClicked', {});
      }
    }
  }
};

/***/ }),
/* 115 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.show) ? _c('div', {
    ref: "wxc-overlay",
    staticClass: ["wxc-overlay"],
    style: _vm.overlayStyle,
    attrs: {
      "hack": _vm.shouldShow
    },
    on: {
      "click": _vm.overlayClicked
    }
  }) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 116 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 2016/10/29.
 */

var CHECKED = exports.CHECKED = 'https://gw.alicdn.com/tfs/TB1UT3VpgMPMeJjy1XdXXasrXXa-42-42.png';
var UN_CHECKED = exports.UN_CHECKED = 'https://gw.alicdn.com/tfs/TB1hE3VpgMPMeJjy1XdXXasrXXa-42-42.png';

/***/ }),
/* 117 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["container"]
  }, [(_vm.show) ? _c('wxc-overlay', {
    attrs: {
      "show": true,
      "hasAnimation": false
    }
  }) : _vm._e(), (_vm.show) ? _c('div', {
    staticClass: ["dialog-box"],
    style: {
      top: _vm.top + 'px'
    }
  }, [_c('div', {
    staticClass: ["dialog-content"]
  }, [_vm._t("title", [_c('text', {
    staticClass: ["content-title"]
  }, [_vm._v(_vm._s(_vm.title))])]), _vm._t("content", [_c('text', {
    staticClass: ["content-subtext"]
  }, [_vm._v(_vm._s(_vm.content))])]), (_vm.showNoPrompt) ? _c('div', {
    staticClass: ["no-prompt"],
    on: {
      "click": _vm.noPromptClicked
    }
  }, [_c('image', {
    staticClass: ["no-prompt-icon"],
    attrs: {
      "src": _vm.noPromptIcon
    }
  }), _c('text', {
    staticClass: ["no-prompt-text"]
  }, [_vm._v(_vm._s(_vm.noPromptText))])]) : _vm._e()], 2), _c('div', {
    staticClass: ["dialog-footer"]
  }, [(!_vm.single) ? _c('div', {
    staticClass: ["footer-btn", "cancel"],
    on: {
      "click": _vm.secondaryClicked
    }
  }, [_c('text', {
    staticClass: ["btn-text"],
    style: {
      color: _vm.secondBtnColor
    }
  }, [_vm._v(_vm._s(_vm.cancelText))])]) : _vm._e(), _c('div', {
    staticClass: ["footer-btn", "confirm"],
    on: {
      "click": _vm.primaryClicked
    }
  }, [_c('text', {
    staticClass: ["btn-text"],
    style: {
      color: _vm.mainBtnColor
    }
  }, [_vm._v(_vm._s(_vm.confirmText))])])])]) : _vm._e()], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 118 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(119);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 119 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(120)
)

/* script */
__vue_exports__ = __webpack_require__(121)

/* template */
var __vue_template__ = __webpack_require__(122)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-ep-slider\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-30efe70f"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 120 */
/***/ (function(module, exports) {

module.exports = {
  "slider": {
    "position": "absolute",
    "top": 0
  }
}

/***/ }),
/* 121 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _bindEnv = __webpack_require__(6);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

var _indexWeex = __webpack_require__(7);

var _indexWeex2 = _interopRequireDefault(_indexWeex);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var swipeBack = weex.requireModule('swipeBack');
var animation = weex.requireModule('animation');
exports.default = {
  props: {
    sliderId: {
      type: [String, Number],
      default: 1
    },
    panOffset: {
      type: Number,
      default: 80
    },
    cardLength: {
      type: Number,
      default: 1
    },
    selectIndex: {
      type: Number,
      default: 0
    },
    enableSwipe: {
      type: Boolean,
      default: true
    },
    containerS: {
      type: Object,
      default: function _default() {
        return {
          position: 'relative',
          width: 750,
          height: 352
        };
      }
    },
    cardS: {
      type: Object,
      default: function _default() {
        return {
          width: 360,
          height: 300,
          spacing: 0,
          scale: 0.75
        };
      }
    },
    autoPlay: {
      type: Boolean,
      default: false
    },
    interval: {
      type: [Number, String],
      default: 1200
    }
  },
  data: function data() {
    return {
      isMoving: false,
      gesToken: 0,
      startX: 0,
      startTime: 0,
      currentIndex: 0,
      autoPlayTimer: null
    };
  },
  computed: {
    cardList: function cardList() {
      return new Array(this.cardLength + 1).join().split('');
    },
    cardWidth: function cardWidth() {
      return (this.cardLength - 1) * this.cardS.width + this.containerS.width + 235;
    }
  },
  created: function created() {
    this.currentIndex = this.selectIndex;
  },
  mounted: function mounted() {
    var _this = this;

    // ios和页面返回冲突，组件里面将ios系统横滑返回禁止
    if (swipeBack && swipeBack.forbidSwipeBack) {
      swipeBack.forbidSwipeBack(true);
    }

    setTimeout(function () {
      var sliderCtn = _this.$refs['sliderCtn_' + _this.sliderId];
      if (_bindEnv2.default.supportsEB() && sliderCtn && sliderCtn.ref) {
        _indexWeex2.default.prepare && _indexWeex2.default.prepare({
          anchor: sliderCtn.ref,
          eventType: 'pan'
        });
      }
    }, 20);
    this.checkNeedAutoPlay();
  },

  methods: {
    onPanStart: function onPanStart(e) {
      if (_bindEnv2.default.supportsEB()) {
        return;
      }
      this.clearAutoPlay();
      this.startX = e.changedTouches[0].clientX;
      this.startTime = Date.now();
    },
    onPanMove: function onPanMove(e) {
      if (_bindEnv2.default.supportsEB()) {
        return;
      }
      var moveX = e.changedTouches[0].clientX - this.startX;
      var index = this.loopedIndex(this.currentIndex, this.cardLength);
      var cardLength = this.cardLength;
      var currentCardLeft = this.currentIndex * (this.cardS.width + this.cardS.spacing);

      var sliderCtn = this.$refs['sliderCtn_' + this.sliderId];
      sliderCtn && animation.transition(sliderCtn, {
        styles: {
          transform: 'translateX(' + (moveX - currentCardLeft) + 'px)'
        },
        timingFunction: 'ease',
        delay: 0,
        duration: 0
      }, function () {});

      if (this.cardS.scale !== 1) {
        var currentCard = this.$refs['card' + this.loopedIndex(index, cardLength) + '_' + this.sliderId][0];
        currentCard && animation.transition(currentCard, {
          styles: {
            transform: 'scale(' + (1 - Math.abs(moveX) / this.cardS.width * (1 - this.cardS.scale)) + ')'
          },
          timingFunction: 'ease',
          delay: 0,
          duration: 0
        }, function () {});
        // 左边的卡片
        var leftCard = this.$refs['card' + this.loopedIndex(index - 1, cardLength) + '_' + this.sliderId][0];
        // loop 函数负数返回 0，这里有点冲突
        if (leftCard && index !== 0) {
          animation.transition(leftCard, {
            styles: {
              transform: 'scale(' + (1 - Math.abs(moveX - this.cardS.width) / this.cardS.width * (1 - this.cardS.scale)) + ')'
            },
            timingFunction: 'ease',
            delay: 0,
            duration: 0
          }, function () {});
        }
        // 右边卡片
        var rightCard = this.$refs['card' + this.loopedIndex(index + 1, cardLength) + '_' + this.sliderId][0];
        rightCard && animation.transition(rightCard, {
          styles: {
            transform: 'scale(' + (1 - Math.abs(this.cardS.width + moveX) / this.cardS.width * (1 - this.cardS.scale)) + ')'
          },
          timingFunction: 'ease',
          delay: 0,
          duration: 0
        }, function () {});
      }
    },
    onEpPanStart: function onEpPanStart(e) {
      var _this2 = this;

      if (_bindEnv2.default.supportsEB() && e.state === 'start') {
        this.clearAutoPlay();
        setTimeout(function () {
          var sliderCtn = _this2.$refs['sliderCtn_' + _this2.sliderId];
          _this2.bindExp(sliderCtn);
        }, 0);
      }
    },
    onPanEnd: function onPanEnd(e) {
      if (_bindEnv2.default.supportsEB()) {
        return;
      }
      this.panEnd(e);
    },
    panEnd: function panEnd(e) {
      var _this3 = this;

      this.isMoving = true;
      var moveX = e.deltaX;

      if (_utils2.default.env.isWeb()) {
        moveX = e.changedTouches[0].clientX - this.startX;
      }

      var originIndex = this.currentIndex;
      var selectIndex = originIndex;
      var duration = Date.now() - this.startTime;
      var panOffset = this.panOffset || this.cardS.width / 2;
      var isPullMore = selectIndex === this.cardLength - 1 && (moveX < -68 || moveX < -10 && duration < 200);

      if (isPullMore) {
        this.$emit('wxcEpSliderPullMore', { currentIndex: selectIndex });
      }

      if (moveX < -panOffset || moveX < -10 && duration < 200) {
        if (selectIndex !== this.cardLength - 1) {
          selectIndex++;
        }
      } else if (moveX > panOffset || moveX > 10 && duration < 500) {
        if (selectIndex !== 0) {
          selectIndex--;
        }
      }

      this.slideTo(originIndex, selectIndex);
      setTimeout(function () {
        _this3.checkNeedAutoPlay();
      }, 3000);
    },
    slideTo: function slideTo(originIndex, selectIndex) {
      var _this4 = this;

      var currentCardScale = 1;
      var rightCardScale = this.cardS.scale;
      var leftCardScale = this.cardS.scale;
      var duration = selectIndex === 0 && originIndex === this.cardLength - 1 && this.cardLength !== 2 ? 0.00001 : 300;
      this.$emit('wxcEpSliderCurrentIndexSelected', { currentIndex: selectIndex });
      if (originIndex < selectIndex) {
        currentCardScale = this.cardS.scale;
        rightCardScale = 1;
      } else if (originIndex > selectIndex) {
        currentCardScale = this.cardS.scale;
        leftCardScale = 1;
      }
      var currentCard = this.$refs['card' + this.loopedIndex(originIndex, this.cardLength) + '_' + this.sliderId][0];
      currentCard && animation.transition(currentCard, {
        styles: {
          transform: 'scale(' + currentCardScale + ')'
        },
        timingFunction: 'ease',
        duration: duration
      }, function () {});

      var leftCard = this.$refs['card' + this.loopedIndex(originIndex - 1, this.cardLength) + '_' + this.sliderId][0];
      if (this.isMoving && leftCard && originIndex !== 0) {
        animation.transition(leftCard, {
          styles: {
            transform: 'scale(' + leftCardScale + ')'
          },
          timingFunction: 'ease',
          duration: duration
        }, function () {});
      }
      var rightCard = this.$refs['card' + this.loopedIndex(originIndex + 1, this.cardLength) + '_' + this.sliderId][0];
      if (rightCard && originIndex !== this.cardLength - 1) {
        animation.transition(rightCard, {
          styles: {
            transform: 'scale(' + rightCardScale + ')'
          },
          timingFunction: 'ease',
          duration: duration
        }, function () {});
      }

      var sliderCtn = this.$refs['sliderCtn_' + this.sliderId];
      sliderCtn && animation.transition(sliderCtn, {
        styles: {
          transform: 'translateX(-' + selectIndex * (this.cardS.width + this.cardS.spacing) + 'px)'
        },
        timingFunction: 'ease',
        duration: duration
      }, function () {
        _this4.isMoving = false;
        if (originIndex !== selectIndex) {
          _this4.currentIndex = selectIndex;
        }
      });
    },

    // 使index维持在0-length之间循环
    loopedIndex: function loopedIndex(index, total) {
      if (index < 0) {
        index = index + (1 - index / total) * total;
      }
      return index % total;
    },
    bindExp: function bindExp(element) {
      var _this5 = this;

      if (element && element.ref) {

        if (this.isMoving && this.gesToken !== 0) {
          _indexWeex2.default.unbind({
            eventType: 'pan',
            token: this.gesToken
          });
          this.gesToken = 0;
          return;
        }

        this.startTime = Date.now();
        var index = this.loopedIndex(this.currentIndex, this.cardLength);
        var sliderCtn = this.$refs['sliderCtn_' + this.sliderId];
        var currentCard = this.$refs['card' + index + '_' + this.sliderId][0];
        var rightCard = null;
        var leftCard = null;
        var currentCardLeft = this.currentIndex * (this.cardS.width + this.cardS.spacing);

        // 卡片容器
        var sliderCtnExp = 'x - ' + currentCardLeft;
        var args = [{
          element: sliderCtn.ref,
          property: 'transform.translateX',
          expression: sliderCtnExp
        }];

        if (this.cardS.scale !== 1) {

          var currentCardExp = '1-abs(x)/' + this.cardS.width + '*' + (1 - this.cardS.scale);
          var leftCardExp = '1-abs(x-' + this.cardS.width + ')/' + this.cardS.width + '*' + (1 - this.cardS.scale);
          var rightCardExp = '1-abs(' + this.cardS.width + '+x)/' + this.cardS.width + '*' + (1 - this.cardS.scale);

          args.push({
            element: currentCard.ref,
            property: 'transform.scale',
            expression: currentCardExp
          });

          if (index === 0 && this.$refs['card' + (index + 1) + '_' + this.sliderId]) {

            rightCard = this.$refs['card' + (index + 1) + '_' + this.sliderId][0];
            args.push({
              element: rightCard.ref,
              property: 'transform.scale',
              expression: rightCardExp
            });
          } else if (index === this.cardLength - 1 && this.$refs['card' + (index - 1) + '_' + this.sliderId]) {
            leftCard = this.$refs['card' + (index - 1) + '_' + this.sliderId][0];
            args.push({
              element: leftCard.ref,
              property: 'transform.scale',
              expression: leftCardExp
            });
          } else if (this.$refs['card' + (index - 1) + '_' + this.sliderId]) {
            // 左边卡片
            leftCard = this.$refs['card' + (index - 1) + '_' + this.sliderId][0];
            args.push({
              element: leftCard.ref,
              property: 'transform.scale',
              expression: leftCardExp
            });
            // 右边卡片
            rightCard = this.$refs['card' + (index + 1) + '_' + this.sliderId][0];
            args.push({
              element: rightCard.ref,
              property: 'transform.scale',
              expression: rightCardExp
            });
          }
        }

        var gesTokenObj = _indexWeex2.default.bind({
          anchor: element.ref,
          eventType: 'pan',
          props: args
        }, function (e) {
          if (!_this5.isMoving && (e.state === 'end' || e.state === 'cancel' || e.state === 'exit')) {
            _this5.panEnd(e);
          }
        });

        this.gesToken = gesTokenObj.token;
      }
    },
    checkNeedAutoPlay: function checkNeedAutoPlay() {
      var _this6 = this;

      if (this.autoPlay) {
        this.clearAutoPlay();
        this.autoPlayTimer = setInterval(function () {
          _this6.slideTo(_this6.currentIndex, _this6.loopedIndex(_this6.currentIndex + 1, _this6.cardLength));
        }, parseInt(this.interval));
      }
    },
    clearAutoPlay: function clearAutoPlay() {
      this.autoPlayTimer && clearInterval(this.autoPlayTimer);
    },
    rebind: function rebind() {
      var sliderCtn = this.$refs['sliderCtn_' + this.sliderId];
      if (sliderCtn && sliderCtn.ref) {
        _indexWeex2.default.unbind({
          eventType: 'pan',
          token: this.gesToken
        });
        this.gesToken = 0;
        this.bindExp(sliderCtn);
      }
    },
    manualSetPage: function manualSetPage(selectIndex) {
      var _this7 = this;

      this.clearAutoPlay();
      var step = this.currentIndex < selectIndex ? 1 : -1;
      this.slideTo(this.loopedIndex(selectIndex - step, this.cardLength), selectIndex);
      setTimeout(function () {
        _this7.checkNeedAutoPlay();
      }, 3000);
    }
  }
};

/***/ }),
/* 122 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    style: _vm.containerS
  }, [_c('div', {
    ref: ("sliderCtn_" + _vm.sliderId),
    style: {
      width: _vm.cardWidth + 'px',
      height: _vm.cardS.height + 'px',
      transform: ("translateX(-" + (_vm.currentIndex * (_vm.cardS.width + _vm.cardS.spacing)) + "px)")
    },
    on: {
      "panstart": _vm.onPanStart,
      "panmove": _vm.onPanMove,
      "panend": _vm.onPanEnd,
      "horizontalpan": _vm.onEpPanStart
    }
  }, [_vm._l((_vm.cardList), function(v, index) {
    return _c('div', {
      ref: ("card" + index + "_" + _vm.sliderId),
      refInFor: true,
      staticClass: ["slider"],
      style: {
        transform: ("scale(" + (index===_vm.currentIndex ? 1 : _vm.cardS.scale) + ")"),
        left: ((index * (_vm.cardS.width+_vm.cardS.spacing)) + "px"),
        marginLeft: (((_vm.containerS.width - _vm.cardS.width) / 2) + "px"),
        width: _vm.cardS.width + 'px',
        height: _vm.cardS.height + 'px'
      }
    }, [_vm._t(("card" + index + "_" + _vm.sliderId))], 2)
  }), _vm._t("pull-more")], 2)])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 123 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _fullPage = __webpack_require__(124);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_fullPage).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 124 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(125)
)

/* script */
__vue_exports__ = __webpack_require__(126)

/* template */
var __vue_template__ = __webpack_require__(127)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-tab-page\\full-page.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-6a618012"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 125 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-tab-page": {
    "width": "750",
    "backgroundColor": "#f2f3f4"
  },
  "tab-title-list": {
    "width": "750",
    "position": "absolute",
    "flexDirection": "row"
  },
  "title-item": {
    "justifyContent": "center",
    "alignItems": "center",
    "borderBottomStyle": "solid"
  },
  "border-bottom": {
    "position": "absolute",
    "bottom": 0
  },
  "tab-page-wrap": {
    "width": "750"
  },
  "tab-container": {
    "flex": 1,
    "flexDirection": "row",
    "position": "absolute"
  },
  "tab-text": {
    "lines": 1,
    "textOverflow": "ellipsis"
  }
}

/***/ }),
/* 126 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _bindEnv = __webpack_require__(6);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

var _indexWeex = __webpack_require__(7);

var _indexWeex2 = _interopRequireDefault(_indexWeex);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var dom = weex.requireModule('dom');
var animation = weex.requireModule('animation');
var swipeBack = weex.requireModule('swipeBack');
var expressionBinding = weex.requireModule('expressionBinding');

var isIos = _utils2.default.env.isIOS();

exports.default = {
  props: {
    tabTitles: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    panDist: {
      type: Number,
      default: 200
    },
    spmC: {
      type: [String, Number],
      default: ''
    },
    tabStyles: {
      type: Object,
      default: function _default() {
        return {
          titleColor: '#666666',
          activeTitleColor: '#3D3D3D',
          isActiveTitleBold: true,
          width: 160,
          height: 40,
          fontSize: 24,
          textPaddingLeft: 10,
          textPaddingRight: 10
        };
      }
    },
    titleType: {
      type: String,
      default: 'icon'
    },
    tabPageHeight: {
      type: [String, Number],
      default: 1334
    },
    needSlider: {
      type: Boolean,
      default: true
    },
    duration: {
      type: [Number, String],
      default: 300
    },
    timingFunction: {
      type: String,
      default: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)'
    }
  },
  data: function data() {
    return {
      currentPage: 0,
      isMoving: false,
      deltaX: 0
    };
  },
  mounted: function mounted() {
    // ios 下面禁止左滑出去
    if (swipeBack && swipeBack.forbidSwipeBack) {
      swipeBack.forbidSwipeBack(true);
    }
    if (_bindEnv2.default.supportsEBForIos() && this.needSlider) {
      var tabPageEl = this.$refs['tab-page-wrap'];
      _indexWeex2.default.prepare && _indexWeex2.default.prepare({
        anchor: tabPageEl.ref,
        eventType: 'pan'
      });
    }
  },

  methods: {
    next: function next() {
      var page = this.currentPage;
      if (page < this.tabTitles.length - 1) {
        page++;
      }
      this.setPage(page);
    },
    prev: function prev() {
      var page = this.currentPage;
      if (page > 0) {
        page--;
      }
      this.setPage(page);
    },
    startHandler: function startHandler(e) {
      if (_bindEnv2.default.supportsEBForIos() && this.isTabView && this.needSlider) {
        this.bindExp(this.$refs['tab-page-wrap']);
      }
    },
    bindExp: function bindExp(element) {
      var _this = this;

      if (element && element.ref) {

        if (this.isMoving && this.gesToken !== 0) {
          _indexWeex2.default.unbind({
            eventType: 'pan',
            token: this.gesToken
          });
          this.gesToken = 0;
          return;
        }

        var tabElement = this.$refs['tab-container'];
        var currentPage = this.currentPage,
            panDist = this.panDist;

        var dist = currentPage * 750;

        // x-dist

        var props = [{
          element: tabElement.ref,
          property: 'transform.translateX',
          expression: '{"type":"CallExpression","children":[{"type":"Identifier","value":"min"},{"type":"Arguments","children":[{"type":"NumericLiteral","value":0},{"type":"CallExpression","children":[{"type":"Identifier","value":"max"},{"type":"Arguments","children":[{"type":"NumericLiteral","value":' + -(tabTitles.length - 1) * 750 + '},{"type":"-","children":[{"type":"Identifier","value":"x"},{"type":"NumericLiteral","value":' + dist + '}]}]}]}]}]}'
        }];

        var gesTokenObj = _indexWeex2.default.bind({
          anchor: element.ref,
          eventType: 'pan',
          props: props
        }, function (e) {
          var deltaX = e.deltaX,
              state = e.state;

          if (state === 'end') {
            if (deltaX < -panDist) {
              _this.next();
            } else if (deltaX > panDist) {
              _this.prev();
            } else {
              _this.setPage(currentPage);
            }
          }
        });
        this.gesToken = gesTokenObj.token;
      }
    },
    setPage: function setPage(page) {
      if (this.isMoving === true) {
        return;
      }
      this.isMoving = true;
      var previousPage = this.currentPage;
      var currentTabEl = this.$refs['wxc-tab-title-' + page][0];
      var width = this.tabStyles.width;

      var appearNum = parseInt(750 / width);
      var tabsNum = this.tabTitles.length;
      var computedPage = tabsNum > appearNum ? 2 : page;
      var offset = page > appearNum ? -(750 - width) / 2 : -width * computedPage;

      (previousPage > appearNum || page > 1) && dom.scrollToElement(currentTabEl, {
        offset: offset
      });

      page <= 1 && previousPage > page && dom.scrollToElement(currentTabEl, {
        offset: -width * page
      });
      this._animateTransformX(page);
      this.isMoving = false;
      this.currentPage = page;
      this.$emit('wxcTabPageCurrentTabSelected', { page: page });
    },
    _animateTransformX: function _animateTransformX(page) {
      var duration = this.duration,
          timingFunction = this.timingFunction;

      var containerEl = this.$refs['tab-container'];
      var dist = page * 750;
      animation.transition(containerEl, {
        styles: {
          transform: 'translateX(' + -dist + 'px)'
        },
        duration: duration,
        timingFunction: timingFunction,
        delay: 0
      }, function () {});
    }
  }
};

/***/ }),
/* 127 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-tab-page"],
    style: {
      height: (_vm.tabPageHeight) + 'px'
    }
  }, [_c('div', {
    ref: "tab-page-wrap",
    staticClass: ["tab-page-wrap"],
    style: {
      height: _vm.tabPageHeight + 'px'
    },
    attrs: {
      "preventMoveEvent": true
    },
    on: {
      "horizontalpan": _vm.startHandler
    }
  }, [_c('div', {
    ref: "tab-container",
    staticClass: ["tab-container"]
  }, [_vm._t("default")], 2)]), _c('scroller', {
    ref: "tab-title-list",
    staticClass: ["tab-title-list"],
    style: {
      backgroundColor: _vm.tabStyles.bgColor,
      height: (_vm.tabStyles.height) + 'px',
      top: _vm.tabStyles.top + 'px'
    },
    attrs: {
      "showScrollbar": false,
      "scrollDirection": "horizontal",
      "dataSpm": _vm.spmC
    }
  }, _vm._l((_vm.tabTitles), function(v, index) {
    return _c('div', {
      key: index,
      ref: 'wxc-tab-title-' + index,
      refInFor: true,
      staticClass: ["title-item"],
      style: {
        width: _vm.tabStyles.width + 'px',
        height: _vm.tabStyles.height + 'px',
        backgroundColor: _vm.currentPage == index ? _vm.tabStyles.activeBgColor : _vm.tabStyles.bgColor
      },
      attrs: {
        "accessible": true,
        "ariaLabel": ("" + (v.title?v.title:'标签'+index))
      },
      on: {
        "click": function($event) {
          _vm.setPage(index, v.url)
        }
      }
    }, [(_vm.titleType == 'icon') ? _c('image', {
      style: {
        width: _vm.tabStyles.iconWidth + 'px',
        height: _vm.tabStyles.iconHeight + 'px'
      },
      attrs: {
        "src": _vm.currentPage == index ? v.activeIcon : v.icon
      }
    }) : _vm._e(), _c('text', {
      staticClass: ["tab-text"],
      style: {
        fontSize: _vm.tabStyles.fontSize + 'px',
        fontWeight: (_vm.currentPage == index && _vm.tabStyles.isActiveTitleBold) ? 'bold' : 'normal',
        color: _vm.currentPage == index ? _vm.tabStyles.activeTitleColor : _vm.tabStyles.titleColor,
        paddingLeft: (_vm.tabStyles.textPaddingLeft ? _vm.tabStyles.textPaddingLeft : 10) + 'px',
        paddingRight: (_vm.tabStyles.textPaddingRight ? _vm.tabStyles.textPaddingRight : 10) + 'px'
      }
    }, [_vm._v(_vm._s(v.title))]), (_vm.tabStyles.hasActiveBottom) ? _c('div', {
      staticClass: ["border-bottom"],
      style: {
        width: _vm.tabStyles.activeBottomWidth + 'px',
        left: (_vm.tabStyles.width - _vm.tabStyles.activeBottomWidth) / 2 + 'px',
        height: _vm.tabStyles.activeBottomHeight + 'px',
        backgroundColor: _vm.currentPage == index ? _vm.tabStyles.activeBottomColor : 'transparent'
      }
    }) : _vm._e()])
  }))])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 128 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(129);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 129 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(130)
)

/* script */
__vue_exports__ = __webpack_require__(131)

/* template */
var __vue_template__ = __webpack_require__(136)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-grid-select\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-39973ea2"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 130 */
/***/ (function(module, exports) {

module.exports = {
  "grid-select": {
    "flexDirection": "row",
    "justifyContent": "space-between",
    "flexWrap": "wrap"
  }
}

/***/ }),
/* 131 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var _option = __webpack_require__(132);

var _option2 = _interopRequireDefault(_option);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: { Option: _option2.default },
  props: {
    // 标识, 当界面展示多个grid, 防止v-for :key重复
    id: {
      type: String,
      default: 'one'
    },
    // 列数
    cols: {
      type: Number,
      default: 4
    },
    // 是否单选
    single: {
      type: Boolean,
      default: false
    },
    // 数据
    list: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    // 选择个数限制
    limit: {
      type: Number
    },
    // 用户自定义样式，用于个性化设置option样式
    customStyles: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      dList: this.initList()
    };
  },

  computed: {
    cHackList: function cHackList() {
      var list = this.list,
          cols = this.cols;

      var remainder = list.length % cols;
      var len = remainder ? cols - remainder : 0;

      return Array.apply(null, { length: len });
    }
  },
  watch: {
    list: function list() {
      this.dList = this.initList();
    }
  },
  created: function created() {
    // 行间距
    this.lineSpacing = this.customStyles.lineSpacing || '12px';
  },

  methods: {
    onSelect: function onSelect(index) {
      var checked = this.dList[index].checked;
      if (this.limit <= this.checkedCount && !checked) {
        this.$emit('overLimit', this.limit);
      } else {
        this.updateList(index);
        this.$emit('select', {
          selectIndex: index,
          checked: !checked,
          checkedList: this.dList.filter(function (item) {
            return item.checked;
          })
        });
      }
    },
    initList: function initList() {
      var single = this.single;
      var checkedCount = 0;

      var dList = this.list.map(function (item, i) {
        var checked = item.checked,
            disabled = item.disabled;

        disabled = !!disabled;
        // disabled为true时认为checked无效，同时单选模式下只认为第一个checked为true的为有效值
        checked = !disabled && !!checked && (!single || checkedCount === 0);
        if (item.checked) checkedCount += 1;
        return _extends({}, item, {
          checked: checked,
          disabled: disabled
        });
      });

      this.checkedCount = checkedCount;
      return dList;
    },
    updateList: function updateList(index) {
      var single = this.single;
      var checkedCount = 0;
      this.dList = this.dList.map(function (item, i) {
        if (single) {
          item.checked = index === i && !item.checked;
        } else {
          if (i === index) item.checked = !item.checked;
        }
        if (item.checked) checkedCount += 1;
        return item;
      });
      this.checkedCount = checkedCount;
    }
  }
};

/***/ }),
/* 132 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(133)
)

/* script */
__vue_exports__ = __webpack_require__(134)

/* template */
var __vue_template__ = __webpack_require__(135)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-grid-select\\option.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-a962fa30"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 133 */
/***/ (function(module, exports) {

module.exports = {
  "grid-option": {
    "justifyContent": "center",
    "borderRadius": "8",
    "borderWidth": "2",
    "paddingLeft": "6",
    "paddingRight": "6"
  },
  "text-title": {
    "lines": 2,
    "lineHeight": "30",
    "textOverflow": "ellipsis",
    "textAlign": "center",
    "fontSize": "26"
  },
  "image-checked": {
    "position": "absolute",
    "right": 0,
    "bottom": 0,
    "width": "38",
    "height": "34"
  }
}

/***/ }),
/* 134 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    index: {
      type: Number,
      default: -1
    },
    // 是否选中
    checked: {
      type: Boolean,
      default: false
    },
    // 是否可选
    disabled: {
      type: Boolean,
      default: false
    },
    // 标题
    title: {
      type: String,
      default: ''
    },
    width: {
      type: String,
      default: '166px'
    },
    height: {
      type: String,
      default: '72px'
    },
    // 默认 x
    icon: {
      type: String,
      default: 'https://gw.alicdn.com/tfs/TB1IAByhgMPMeJjy1XdXXasrXXa-38-34.png'
    },
    // 正常状态文字色值
    color: {
      type: String,
      default: '#3d3d3d'
    },
    // 选中状态文字色值
    checkedColor: {
      type: String,
      default: '#3d3d3d'
    },
    // 不可选状态文字色值
    disabledColor: {
      type: String,
      default: '#9b9b9b'
    },
    // 正常状态边框色值
    borderColor: {
      type: String,
      default: 'transparent'
    },
    // 选中状态边框色值
    checkedBorderColor: {
      type: String,
      default: '#ffb200'
    },
    // 不可选状态边框色值
    disabledBorderColor: {
      type: String,
      default: 'transparent'
    },
    // 正常状态背景色值
    backgroundColor: {
      type: String,
      default: '#f6f6f6'
    },
    // 选中状态背景色值
    checkedBackgroundColor: {
      type: String,
      default: '#ffffff'
    },
    // 不可选状态背景色值
    disabledBackgroundColor: {
      type: String,
      default: '#f6f6f6'
    }
  },
  computed: {
    cWrapperStyle: function cWrapperStyle() {
      var checked = this.checked,
          disabled = this.disabled,
          width = this.width,
          height = this.height,
          borderColor = this.borderColor,
          checkedBorderColor = this.checkedBorderColor,
          disabledBorderColor = this.disabledBorderColor,
          backgroundColor = this.backgroundColor,
          checkedBackgroundColor = this.checkedBackgroundColor,
          disabledBackgroundColor = this.disabledBackgroundColor;

      return {
        width: width,
        height: height,
        borderColor: disabled ? disabledBorderColor : checked ? checkedBorderColor : borderColor,
        backgroundColor: disabled ? disabledBackgroundColor : checked ? checkedBackgroundColor : backgroundColor
      };
    },
    cTitleStyle: function cTitleStyle() {
      var checked = this.checked,
          disabled = this.disabled,
          color = this.color,
          checkedColor = this.checkedColor,
          disabledColor = this.disabledColor;

      return {
        color: disabled ? disabledColor : checked ? checkedColor : color
      };
    }
  },
  methods: {
    onClick: function onClick() {
      if (!this.disabled) {
        this.$emit('select', this.index);
      }
    }
  }
};

/***/ }),
/* 135 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["grid-option"],
    style: _vm.cWrapperStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": (_vm.title + "," + (_vm.checked?'已选中':'未选中'))
    },
    on: {
      "click": _vm.onClick
    }
  }, [(_vm.title) ? _c('text', {
    staticClass: ["text-title"],
    style: _vm.cTitleStyle
  }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), (_vm.checked && _vm.icon) ? _c('image', {
    staticClass: ["image-checked"],
    attrs: {
      "src": _vm.icon
    }
  }) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 136 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["grid-select"]
  }, [_vm._l((_vm.dList), function(item, index) {
    return _c('option', _vm._b({
      key: index,
      style: {
        marginTop: index >= _vm.cols ? _vm.lineSpacing : null
      },
      attrs: {
        "index": index
      },
      on: {
        "select": function($event) {
          _vm.onSelect(index)
        }
      }
    }, 'option', Object.assign({}, _vm.customStyles, item), false))
  }), _vm._l((_vm.cHackList), function(item, index) {
    return _c('option', _vm._b({
      key: _vm.id + index,
      style: {
        opacity: 0,
        marginTop: _vm.dList.length >= _vm.cols ? _vm.lineSpacing : null
      }
    }, 'option', Object.assign({}, _vm.customStyles, item), false))
  })], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 137 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(138);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 138 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(139)
)

/* script */
__vue_exports__ = __webpack_require__(140)

/* template */
var __vue_template__ = __webpack_require__(142)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-icon\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-12c9d709"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 139 */
/***/ (function(module, exports) {

module.exports = {
  "icon-font": {
    "color": "#666666"
  }
}

/***/ }),
/* 140 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//

var _type = __webpack_require__(141);

var _type2 = _interopRequireDefault(_type);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var dom = weex.requireModule('dom');

exports.default = {
  props: {
    name: {
      default: 'success',
      type: String
    },
    size: {
      default: 'small',
      type: String
    },
    iconStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      Icon: _type2.default
    };
  },
  beforeCreate: function beforeCreate() {
    dom.addRule('fontFace', {
      'fontFamily': "weexUiIconFont",
      'src': "url('https://at.alicdn.com/t/font_520368_r89ekv69euahsemi.ttf')"
    });
  },

  computed: {
    mergeStyle: function mergeStyle() {
      var iconStyle = this.iconStyle,
          size = this.size;

      var fontSize = '48px';
      switch (size) {
        case 'xs':
          fontSize = '24px';
          break;
        case 'small':
          fontSize = '48px';
          break;
        case 'medium':
          fontSize = '72px';
          break;
        case 'big':
          fontSize = '128px';
          break;
        default:
          fontSize = '48px';
      }
      return _extends({
        fontFamily: 'weexUiIconFont',
        fontSize: fontSize
      }, iconStyle);
    }
  },
  methods: {
    itemClicked: function itemClicked(name) {
      this.$emit('wxcIconClicked', {
        name: name
      });
    }
  }
};

/***/ }),
/* 141 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = {
  less: '\uE6A5',
  'more_unfold': '\uE6A6',
  back: '\uE697',
  more: '\uE6A7',
  add: '\uE6B9',
  subtract: '\uE6FE',
  close: '\uE69A',
  cry: '\uE69C',
  delete: '\uE69D',
  help: '\uE6A3',
  refresh: '\uE6AA',
  search: '\uE6AC',
  success: '\uE6B1',
  warning: '\uE6B6',
  wrong: '\uE6B7',
  clock: '\uE6BB',
  scanning: '\uE6EC',
  filter: '\uE6F1',
  map: '\uE715',
  play: '\uE719'
};

/***/ }),
/* 142 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('text', {
    staticClass: ["icon-font"],
    style: _vm.mergeStyle,
    on: {
      "click": function($event) {
        _vm.itemClicked(_vm.name)
      }
    }
  }, [_vm._v(_vm._s(_vm.Icon[_vm.name]))])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 143 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(144);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 144 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(145)
)

/* script */
__vue_exports__ = __webpack_require__(146)

/* template */
var __vue_template__ = __webpack_require__(151)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-lightbox\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-d2bf30f6"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 145 */
/***/ (function(module, exports) {

module.exports = {
  "indicator": {
    "position": "absolute",
    "itemColor": "rgba(255,195,0,0.5)",
    "itemSelectedColor": "#ffc300",
    "itemSize": "20",
    "height": "20",
    "bottom": "24"
  }
}

/***/ }),
/* 146 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var _wxcMask = __webpack_require__(21);

var _wxcMask2 = _interopRequireDefault(_wxcMask);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: {
    WxcMask: _wxcMask2.default
  },
  props: {
    width: {
      type: [Number, String],
      default: 750
    },
    height: {
      type: [Number, String],
      default: 750
    },
    show: {
      type: Boolean,
      default: false
    },
    imageList: Array,
    indicatorColor: {
      type: Object,
      default: function _default() {
        return {
          'item-color': 'rgba(255, 195, 0, .5)',
          'item-selected-color': '#ffc300',
          'item-size': '20px'
        };
      }
    },
    index: {
      type: [Number, String],
      default: 0
    },
    interval: {
      type: [Number, String],
      default: 3000
    }
  },
  computed: {
    indicatorStyle: function indicatorStyle() {
      return _extends({
        width: this.width + 'px'
      }, this.indicatorColor);
    }
  },
  methods: {
    maskOverlayClick: function maskOverlayClick() {
      this.$emit('wxcLightboxOverlayClicked', {});
    }
  }
};

/***/ }),
/* 147 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(148)
)

/* script */
__vue_exports__ = __webpack_require__(149)

/* template */
var __vue_template__ = __webpack_require__(150)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-mask\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1d536dbc"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 148 */
/***/ (function(module, exports) {

module.exports = {
  "container": {
    "position": "fixed",
    "width": "750",
    "zIndex": 99999
  },
  "wxc-mask": {
    "position": "fixed",
    "top": "300",
    "left": "60",
    "width": "702",
    "height": "800"
  },
  "mask-bottom": {
    "width": "100",
    "height": "100",
    "backgroundColor": "rgba(0,0,0,0)",
    "justifyContent": "center",
    "alignItems": "center"
  },
  "mask-close-icon": {
    "width": "64",
    "height": "64"
  }
}

/***/ }),
/* 149 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _wxcOverlay = __webpack_require__(8);

var _wxcOverlay2 = _interopRequireDefault(_wxcOverlay);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');
exports.default = {
  components: { WxcOverlay: _wxcOverlay2.default },
  props: {
    height: {
      type: [String, Number],
      default: 800
    },
    width: {
      type: [String, Number],
      default: 702
    },
    top: {
      type: Number,
      default: 0
    },
    show: {
      type: Boolean,
      default: false
    },
    showClose: {
      type: Boolean,
      default: false
    },
    duration: {
      type: [String, Number],
      default: 300
    },
    hasOverlay: {
      type: Boolean,
      default: true
    },
    hasAnimation: {
      type: Boolean,
      default: true
    },
    timingFunction: {
      type: Array,
      default: function _default() {
        return ['ease-in', 'ease-out'];
      }
    },
    overlayCfg: {
      type: Object,
      default: function _default() {
        return {
          hasAnimation: true,
          timingFunction: ['ease-in', 'ease-out'],
          canAutoClose: true,
          duration: 300,
          opacity: 0.6
        };
      }
    },
    borderRadius: {
      type: [String, Number],
      default: 0
    },
    overlayCanClose: {
      type: Boolean,
      default: true
    },
    maskBgColor: {
      type: String,
      default: '#ffffff'
    }
  },
  data: function data() {
    return {
      closeIcon: 'https://gw.alicdn.com/tfs/TB1qDJUpwMPMeJjy1XdXXasrXXa-64-64.png',
      maskTop: 264,
      opened: false
    };
  },
  computed: {
    mergeOverlayCfg: function mergeOverlayCfg() {
      return _extends({}, this.overlayCfg, {
        hasAnimation: this.hasAnimation
      });
    },
    maskStyle: function maskStyle() {
      var width = this.width,
          height = this.height,
          showClose = this.showClose,
          hasAnimation = this.hasAnimation,
          opened = this.opened,
          top = this.top;

      var newHeight = showClose ? height - 0 + 100 : height;
      var _weex$config$env = weex.config.env,
          deviceHeight = _weex$config$env.deviceHeight,
          deviceWidth = _weex$config$env.deviceWidth,
          platform = _weex$config$env.platform;

      var _deviceHeight = deviceHeight || 1334;
      var isWeb = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && platform.toLowerCase() === 'web';
      var navHeight = isWeb ? 0 : 130;
      var pageHeight = _deviceHeight / deviceWidth * 750 - navHeight;
      return {
        width: width + 'px',
        height: newHeight + 'px',
        left: (750 - width) / 2 + 'px',
        top: (top || (pageHeight - height) / 2) + 'px',
        opacity: hasAnimation && !opened ? 0 : 1
      };
    },
    contentStyle: function contentStyle() {
      return {
        width: this.width + 'px',
        backgroundColor: this.maskBgColor,
        height: this.height + 'px',
        borderRadius: this.borderRadius + 'px'
      };
    },
    shouldShow: function shouldShow() {
      var _this = this;

      var show = this.show,
          hasAnimation = this.hasAnimation;

      hasAnimation && setTimeout(function () {
        _this.appearMask(show);
      }, 50);
      return show;
    }
  },
  methods: {
    closeIconClicked: function closeIconClicked() {
      this.appearMask(false);
    },
    wxcOverlayBodyClicking: function wxcOverlayBodyClicking() {
      if (this.hasAnimation) {
        this.appearMask(false);
        this.$emit('wxcOverlayBodyClicking', {});
      }
    },
    wxcOverlayBodyClicked: function wxcOverlayBodyClicked() {
      if (!this.hasAnimation) {
        this.appearMask(false);
        this.$emit('wxcOverlayBodyClicked', {});
      }
    },
    needEmit: function needEmit() {
      var bool = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;

      this.opened = bool;
      !bool && this.$emit('wxcMaskSetHidden', {});
    },
    appearMask: function appearMask(bool) {
      var _this2 = this;

      var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.duration;
      var hasAnimation = this.hasAnimation,
          timingFunction = this.timingFunction;

      var maskEl = this.$refs['wxc-mask'];
      if (hasAnimation && maskEl) {
        animation.transition(maskEl, {
          styles: {
            opacity: bool ? 1 : 0
          },
          duration: duration,
          timingFunction: timingFunction[bool ? 0 : 1],
          delay: 0
        }, function () {
          _this2.needEmit(bool);
        });
      } else {
        this.needEmit(bool);
      }
    }
  }
};

/***/ }),
/* 150 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["container"]
  }, [(_vm.show) ? _c('wxc-overlay', _vm._b({
    attrs: {
      "show": _vm.show && _vm.hasOverlay,
      "canAutoClose": _vm.overlayCanClose
    },
    on: {
      "wxcOverlayBodyClicking": _vm.wxcOverlayBodyClicking,
      "wxcOverlayBodyClicked": _vm.wxcOverlayBodyClicked
    }
  }, 'wxc-overlay', _vm.mergeOverlayCfg, false)) : _vm._e(), (_vm.show) ? _c('div', {
    ref: "wxc-mask",
    staticClass: ["wxc-mask"],
    style: _vm.maskStyle,
    attrs: {
      "hack": _vm.shouldShow
    }
  }, [_c('div', {
    style: _vm.contentStyle
  }, [_vm._t("default")], 2), (_vm.showClose) ? _c('div', {
    staticClass: ["mask-bottom"],
    style: {
      width: _vm.width + 'px'
    },
    on: {
      "click": _vm.closeIconClicked
    }
  }, [_c('image', {
    staticClass: ["mask-close-icon"],
    attrs: {
      "src": _vm.closeIcon,
      "ariaLabel": "关闭"
    }
  })]) : _vm._e()]) : _vm._e()], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 151 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('wxc-mask', {
    attrs: {
      "width": _vm.width,
      "height": _vm.height,
      "ariaHidden": "true",
      "maskBgColor": "transparent",
      "overlayOpacity": "0.8",
      "show": _vm.show,
      "showClose": false
    },
    on: {
      "wxcMaskSetHidden": _vm.maskOverlayClick
    }
  }, [(_vm.show) ? _c('slider', {
    style: {
      height: _vm.height + 'px'
    },
    attrs: {
      "autoPlay": "false",
      "index": _vm.index,
      "interval": _vm.interval
    }
  }, [_vm._l((_vm.imageList), function(v, index) {
    return _c('div', {
      key: index,
      style: {
        height: _vm.height + 'px'
      }
    }, [_c('image', {
      style: {
        height: _vm.height + 'px',
        width: _vm.width + 'px'
      },
      attrs: {
        "resize": "cover",
        "src": v.src
      }
    })])
  }), _c('indicator', {
    staticClass: ["indicator"],
    style: _vm.indicatorStyle
  })], 2) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 152 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(153);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 153 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(154)
)

/* script */
__vue_exports__ = __webpack_require__(155)

/* template */
var __vue_template__ = __webpack_require__(156)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-loading\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-12fb7c48"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 154 */
/***/ (function(module, exports) {

module.exports = {
  "loading-container": {
    "position": "relative"
  },
  "loading-need-mask": {
    "position": "absolute",
    "top": 0,
    "left": 0,
    "right": 0,
    "bottom": 0,
    "backgroundColor": "rgba(0,0,0,0.2)"
  },
  "wxc-loading": {
    "position": "absolute",
    "left": "287",
    "top": "500",
    "zIndex": 9999
  },
  "loading-box": {
    "alignItems": "center",
    "justifyContent": "center",
    "borderRadius": "20",
    "width": "175",
    "height": "175",
    "backgroundColor": "rgba(0,0,0,0.8)"
  },
  "trip-loading": {
    "backgroundColor": "rgba(0,0,0,0.2)"
  },
  "loading-trip-image": {
    "height": "75",
    "width": "75"
  },
  "loading-text": {
    "color": "#ffffff",
    "fontSize": "24",
    "lineHeight": "30",
    "height": "30",
    "marginTop": "8",
    "textOverflow": "ellipsis",
    "width": "140",
    "textAlign": "center"
  }
}

/***/ }),
/* 155 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _type = __webpack_require__(22);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    show: {
      type: Boolean,
      default: false
    },
    loadingText: {
      type: String,
      default: ''
    },
    type: {
      type: String,
      default: 'default'
    },
    interval: {
      type: [Number, String],
      default: 0
    },
    needMask: {
      type: Boolean,
      default: false
    },
    maskStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      showLoading: false,
      tid: 0
    };
  },
  watch: {
    show: function show() {
      this.setShow();
    }
  },
  computed: {
    loading: function loading() {
      var loading = {};
      switch (this.type) {
        case 'trip':
          loading = {
            url: _type.GIF,
            class: 'trip-loading'
          };
          break;
        default:
          loading = {
            url: _type.BLACK_GIF,
            class: 'default-loading'
          };
      }
      return loading;
    },
    topPosition: function topPosition() {
      return (_utils2.default.env.getPageHeight() - 200) / 2;
    }
  },
  created: function created() {
    this.setShow();
  },

  methods: {
    maskClicked: function maskClicked() {
      this.needMask && this.$emit('wxcLoadingMaskClicked', {});
    },
    setShow: function setShow() {
      var _this = this;

      var interval = this.interval,
          show = this.show,
          showLoading = this.showLoading;

      var stInterval = parseInt(interval);
      clearTimeout(this.tid);
      if (show) {
        if (showLoading) {
          return;
        }
        if (stInterval === 0) {
          this.showLoading = true;
        } else {
          this.tid = setTimeout(function () {
            _this.showLoading = true;
          }, stInterval);
        }
      } else {
        this.showLoading = false;
      }
    }
  }
};

/***/ }),
/* 156 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    class: ['loading-container', _vm.showLoading && _vm.needMask && 'loading-need-mask'],
    style: _vm.maskStyle,
    on: {
      "click": _vm.maskClicked
    }
  }, [(_vm.showLoading) ? _c('div', {
    staticClass: ["wxc-loading"],
    style: {
      top: _vm.topPosition + 'px'
    }
  }, [_c('div', {
    class: ['loading-box', _vm.loading.class],
    attrs: {
      "ariaHidden": true
    }
  }, [_c('image', {
    staticClass: ["loading-trip-image"],
    attrs: {
      "src": _vm.loading.url,
      "resize": "contain",
      "quality": "original"
    }
  }), (_vm.loadingText) ? _c('text', {
    staticClass: ["loading-text"]
  }, [_vm._v(_vm._s(_vm.loadingText))]) : _vm._e()])]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 157 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(158);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 158 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(159)
)

/* script */
__vue_exports__ = __webpack_require__(160)

/* template */
var __vue_template__ = __webpack_require__(168)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-lottery-rain\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-2d73d968"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 159 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-lottery-rain": {
    "position": "absolute",
    "top": 0,
    "left": 0,
    "right": 0,
    "bottom": 0,
    "backgroundColor": "rgba(133,11,11,0.8)"
  }
}

/***/ }),
/* 160 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _rainItem = __webpack_require__(161);

var _rainItem2 = _interopRequireDefault(_rainItem);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: { RainItem: _rainItem2.default },
  props: {
    picList: Array,
    config: Object,
    wrapStyle: Object
  },
  methods: {
    wxcLotteryRainCaught: function wxcLotteryRainCaught(e) {
      this.$emit('wxcLotteryRainCaught', { rainId: e.rainId });
    },
    destroy: function destroy() {
      var picList = this.picList;

      var length = picList.length;
      for (var i = 0; i < length; i++) {
        this.$refs['rain-item-' + i][0].destroy();
      }
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 161 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(162)
)

/* script */
__vue_exports__ = __webpack_require__(163)

/* template */
var __vue_template__ = __webpack_require__(167)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-lottery-rain\\rain-item.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-a4fd1b7c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 162 */
/***/ (function(module, exports) {

module.exports = {
  "rain-item": {
    "position": "absolute",
    "opacity": 0
  }
}

/***/ }),
/* 163 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var _animate = __webpack_require__(164);

var Ani = _interopRequireWildcard(_animate);

var _config = __webpack_require__(165);

var CFG = _interopRequireWildcard(_config);

var _region = __webpack_require__(166);

var _region2 = _interopRequireDefault(_region);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

exports.default = {
  props: {
    src: String,
    rainId: [String, Number],
    config: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  computed: {
    // 合并用户配置和默认
    cfg: function cfg() {
      return _extends({}, CFG.DEFAULT, this.config);
    }
  },
  data: function data() {
    return {
      showItem: false,
      hiding: false,
      pos: {},
      showTimer: null,
      hideTimer: null,
      intervalTimer: null
    };
  },
  created: function created() {
    var _cfg = this.cfg,
        width = _cfg.width,
        height = _cfg.height;

    this.pos = _region2.default.get(width, height);
  },
  mounted: function mounted() {
    this.start();
  },

  methods: {
    start: function start() {
      var _this = this;

      var cfg = this.cfg;

      var random = Math.round(Math.random() * cfg.randomTime);
      var showTime = cfg.showTime + random;
      var intervalTime = Math.max(cfg.intervalTime, cfg.showAniTime + showTime + cfg.hideAniTime) + random;

      this.onShow = function () {
        _this.hideTimer = setTimeout(function () {
          _this.hide();
        }, showTime);
      };

      this.onHide = function () {
        _region2.default.remove(_this.pos);
        _this.pos = {};
        _this.showItem = false;
        _this.hiding = false;
        var _cfg2 = _this.cfg,
            width = _cfg2.width,
            height = _cfg2.height;

        _this.pos = _region2.default.get(width, height);
      };

      this.showTimer = setTimeout(function () {
        _this.show();
      }, random);

      this.intervalTimer = setInterval(function () {
        _this.show();
      }, intervalTime);
    },
    hide: function hide() {
      var cfg = this.cfg,
          rainId = this.rainId;

      this.hiding = true;
      clearTimeout(this.showTimer);
      clearTimeout(this.hideTimer);
      Ani.hidePig(this.$refs['rain-item-' + rainId], cfg.hideAniTime, this.onHide);
    },
    show: function show() {
      var cfg = this.cfg,
          rainId = this.rainId;

      this.showItem = true;
      Ani.showPig(this.$refs['rain-item-' + rainId], cfg.showAniTime, this.onShow);
    },
    caught: function caught() {
      var _this2 = this;

      var rainId = this.rainId,
          hiding = this.hiding;

      if (hiding) return;
      clearTimeout(this.showTimer);
      clearTimeout(this.hideTimer);
      Ani.shakePig(this.$refs['rain-item-' + rainId], function () {
        _this2.hide();
      });
      this.$emit('wxcLotteryRainCaught', { rainId: rainId });
    },
    destroy: function destroy() {
      _region2.default.remove(this.pos);
      clearTimeout(this.showTimer);
      clearTimeout(this.hideTimer);
      clearInterval(this.intervalTimer);
      this.showItem = false;
    }
  }
};

/***/ }),
/* 164 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.showPig = showPig;
exports.hidePig = hidePig;
exports.shakePig = shakePig;

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 2017/09/06.
 * 红包雨动画类
 */

var animation = weex.requireModule('animation');


var isIos = _utils2.default.env.isIOS();

function showPig(ref, duration, callback) {
  ref && animation.transition(ref, {
    styles: {
      transform: 'translate(0, -140px)',
      opacity: 1
    },
    duration: duration,
    timingFunction: 'ease-in'
  }, function () {
    callback && callback();
  });
}

function hidePig(ref, duration, callback) {
  ref && animation.transition(ref, {
    styles: {
      transform: 'translate(0, 0)',
      opacity: 0
    },
    duration: duration,
    timingFunction: 'ease-out'
  }, function () {
    callback && callback();
  });
}

function shakePig(ref, callback) {
  var duration = isIos ? 20 : 10;
  ref && animation.transition(ref, {
    styles: {
      transform: 'rotate(12deg) translate(0, -140px)'
    },
    duration: duration,
    timingFunction: 'ease-in'
  }, function () {
    animation.transition(ref, {
      styles: {
        transform: 'rotate(0) translate(0, -140px)'
      },
      duration: duration,
      timingFunction: 'ease-out'
    }, function () {
      animation.transition(ref, {
        styles: {
          transform: 'rotate(-12deg) translate(0, -140px)'
        },
        duration: duration,
        timingFunction: 'ease-in'
      }, function () {
        animation.transition(ref, {
          styles: {
            transform: 'rotate(0) translate(0, -140px)'
          },
          duration: duration,
          timingFunction: 'ease-out'
        }, function () {
          callback && callback();
        });
      });
    });
  });
}

/***/ }),
/* 165 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
var DEFAULT = exports.DEFAULT = {
  intervalTime: 400,
  hideAniTime: 300,
  showAniTime: 300,
  showTime: 400,
  randomTime: 300,
  width: 241,
  height: 206
};

/***/ }),
/* 166 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Region = {
  regions: [],
  isCross: function isCross(region) {
    var regions = this.regions;


    region.right = region.left + region.width;
    region.bottom = region.top + region.height;

    for (var i = 0; i < regions.length; i++) {
      var curRegion = regions[i];
      // 两区域相交
      curRegion.right = curRegion.left + curRegion.width;
      curRegion.bottom = curRegion.top + curRegion.height;
      if (!(region.left > curRegion.right || region.right < curRegion.left || region.bottom < curRegion.top || region.top > curRegion.bottom)) {
        return true;
      }
    }
    return false;
  },
  get: function get(width, height) {
    if (!width || !height) {
      return;
    }
    var i = 1000;
    var viewWidth = 750;
    var viewHeight = _utils2.default.env.getPageHeight();
    var wrapWidth = viewWidth - width;
    var wrapHeight = viewHeight - height - 140;
    wrapHeight = wrapHeight < 0 ? 0 : wrapHeight;
    wrapWidth = wrapWidth < 0 ? 0 : wrapWidth;

    var region = {
      left: '-9999px',
      top: '-9999px',
      width: width + 'px',
      height: height + 'px'
    };
    while (i--) {
      region.left = Math.round(Math.random() * wrapWidth) + 'px';
      region.top = Math.round(Math.random() * wrapHeight + height) + 'px';
      if (!this.isCross(region)) {
        this.add(region);
        return region;
      }
    }
  },
  buildRandom: function buildRandom() {
    return new Date().getTime() + '_' + parseInt(Math.random() * 1000000);
  },
  add: function add(region) {
    var regions = this.regions;

    region.id = this.buildRandom();
    regions.push(region);
  },
  remove: function remove(region) {
    var regions = this.regions;

    if (!region) return;
    for (var i = 0; i < regions.length; i++) {
      if (region.id === regions[i].id) {
        regions.splice(i, 1);
      }
    }
  }
}; /**
    * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
    * Created by Tw93 on 2017/09/06.
    * 红包雨区域检测类
    */

exports.default = Region;

/***/ }),
/* 167 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (_vm.showItem && _vm.src) ? _c('image', {
    ref: ("rain-item-" + _vm.rainId),
    staticClass: ["rain-item"],
    style: _vm.pos,
    attrs: {
      "src": _vm.src
    },
    on: {
      "click": _vm.caught
    }
  }) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 168 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-lottery-rain"],
    style: _vm.wrapStyle
  }, _vm._l((_vm.picList), function(src, i) {
    return _c('rain-item', {
      key: "i",
      ref: ("rain-item-" + i),
      refInFor: true,
      attrs: {
        "src": src,
        "rainId": i
      },
      on: {
        "wxcLotteryRainCaught": _vm.wxcLotteryRainCaught
      }
    })
  }))
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 169 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(170)
)

/* script */
__vue_exports__ = __webpack_require__(171)

/* template */
var __vue_template__ = __webpack_require__(172)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-minibar\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-e026d130"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 170 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-minibar": {
    "width": "750",
    "height": "90",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center",
    "backgroundColor": "#009ff0"
  },
  "left": {
    "width": "180",
    "paddingLeft": "32"
  },
  "middle-title": {
    "fontSize": "30",
    "color": "#ffffff",
    "height": "36",
    "lineHeight": "34"
  },
  "right": {
    "width": "180",
    "paddingRight": "32",
    "alignItems": "flex-end"
  },
  "left-button": {
    "width": "21",
    "height": "36"
  },
  "right-button": {
    "width": "32",
    "height": "32"
  },
  "icon-text": {
    "fontSize": "28",
    "color": "#ffffff"
  }
}

/***/ }),
/* 171 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var Navigator = weex.requireModule('navigator');
exports.default = {
  props: {
    backgroundColor: {
      type: String,
      default: '#FFC900'
    },
    leftButton: {
      type: String,
      default: 'https://gw.alicdn.com/tfs/TB1x18VpwMPMeJjy1XdXXasrXXa-21-36.png'
    },
    textColor: {
      type: String,
      default: '#3D3D3D'
    },
    rightButton: {
      type: String,
      default: ''
    },
    title: {
      type: String,
      default: '标题'
    },
    leftText: {
      type: String,
      default: ''
    },
    rightText: {
      type: String,
      default: ''
    },
    useDefaultReturn: {
      type: Boolean,
      default: true
    },
    show: {
      type: Boolean,
      default: true
    },
    barStyle: {
      type: Object
    }
  },
  computed: {
    newBarStyle: function newBarStyle() {
      var backgroundColor = this.backgroundColor,
          barStyle = this.barStyle;

      return _extends({
        backgroundColor: backgroundColor
      }, barStyle);
    }
  },
  methods: {
    leftButtonClicked: function leftButtonClicked() {
      if (this.useDefaultReturn) {
        Navigator.pop({}, function (e) {});
      }
      this.$emit('wxcMinibarLeftButtonClicked', {});
    },
    rightButtonClicked: function rightButtonClicked() {
      var hasRightContent = this.rightText || this.rightButton || this.$slots && this.$slots.right;
      hasRightContent && this.$emit('wxcMinibarRightButtonClicked', {});
    }
  }
};

/***/ }),
/* 172 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (_vm.show) ? _c('div', {
    staticClass: ["wxc-minibar"],
    style: _vm.newBarStyle
  }, [_c('div', {
    staticClass: ["left"],
    attrs: {
      "ariaLabel": "返回",
      "accessible": true
    },
    on: {
      "click": _vm.leftButtonClicked
    }
  }, [_vm._t("left", [(_vm.leftButton && !_vm.leftText) ? _c('image', {
    staticClass: ["left-button"],
    attrs: {
      "src": _vm.leftButton
    }
  }) : _vm._e(), (_vm.leftText) ? _c('text', {
    staticClass: ["icon-text"],
    style: {
      color: _vm.textColor
    }
  }, [_vm._v(_vm._s(_vm.leftText))]) : _vm._e()])], 2), _vm._t("middle", [_c('text', {
    staticClass: ["middle-title"],
    style: {
      color: _vm.textColor
    }
  }, [_vm._v(_vm._s(_vm.title))])]), _c('div', {
    staticClass: ["right"],
    on: {
      "click": _vm.rightButtonClicked
    }
  }, [_vm._t("right", [(_vm.rightButton && !_vm.rightText) ? _c('image', {
    staticClass: ["right-button"],
    attrs: {
      "src": _vm.rightButton,
      "ariaHidden": true
    }
  }) : _vm._e(), (_vm.rightText) ? _c('text', {
    staticClass: ["icon-text"],
    style: {
      color: _vm.textColor
    }
  }, [_vm._v(_vm._s(_vm.rightText))]) : _vm._e()])], 2)], 2) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 173 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(174);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 174 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(175)
)

/* script */
__vue_exports__ = __webpack_require__(176)

/* template */
var __vue_template__ = __webpack_require__(178)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-noticebar\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-ea6a51f2"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 175 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-noticebar": {
    "width": "750",
    "paddingTop": "10",
    "paddingBottom": "10",
    "paddingLeft": "24",
    "backgroundColor": "#FFF7D6",
    "borderBottomWidth": "1",
    "borderTopWidth": "1",
    "borderColor": "#FFEEAE",
    "borderStyle": "solid",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "noticebar-content": {
    "color": "#EE9900",
    "fontSize": "26",
    "lineHeight": "36",
    "width": "592",
    "textOverflow": "ellipsis"
  },
  "more-click-content": {
    "width": "64",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "mode-ICON": {
    "width": "32",
    "height": "32"
  },
  "type-ICON": {
    "width": "32",
    "height": "32"
  }
}

/***/ }),
/* 176 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _type = __webpack_require__(177);

var _type2 = _interopRequireDefault(_type);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    notice: {
      type: String,
      default: ''
    },
    noticeUrl: {
      type: String,
      default: ''
    },
    mode: {
      type: String,
      default: ''
    },
    lines: {
      type: [Number, String],
      default: 1
    },
    type: {
      type: String,
      default: ''
    },
    spm: {
      type: String,
      default: ''
    }
  },
  computed: {
    contentWidth: function contentWidth() {
      return this.mode ? 605 : 683;
    },
    modeIcon: function modeIcon() {
      var modeIcon = void 0;
      switch (this.mode) {
        case 'link':
          modeIcon = _type2.default.linkIcon;
          break;
        case 'closable':
          modeIcon = _type2.default.closeIcon;
          break;
        default:
          modeIcon = '';
      }
      return modeIcon;
    },
    typeIcon: function typeIcon() {
      var typeIcon = void 0;
      switch (this.type) {
        case 'success':
          typeIcon = _type2.default.successIcon;
          break;
        case 'error':
          typeIcon = _type2.default.errorIcon;
          break;
        case 'info':
          typeIcon = _type2.default.infoIcon;
          break;
        case 'question':
          typeIcon = _type2.default.questionIcon;
          break;
        case 'warn':
          typeIcon = _type2.default.warnIcon;
          break;
        case 'time':
          typeIcon = _type2.default.timeIcon;
          break;
        case 'redbag':
          typeIcon = _type2.default.redbag;
          break;
        default:
          typeIcon = '';
      }
      return typeIcon;
    }
  },
  data: function data() {
    return {
      show: true
    };
  },
  methods: {
    noticeBarClicked: function noticeBarClicked() {
      var mode = this.mode,
          noticeUrl = this.noticeUrl,
          spm = this.spm;

      if (mode === 'link' && noticeUrl) {
        var ttid = weex.config.env.ttid;

        _utils2.default.goToH5Page(noticeUrl, spm, ttid, true);
        this.$emit('wxcNoticebarLinkClicked', { url: noticeUrl });
      }
    },
    noticeIconClicked: function noticeIconClicked() {
      var mode = this.mode;

      if (mode === 'closable') {
        this.show = false;
        this.$emit('wxcNoticebarCloseClicked', {});
      } else {
        this.noticeBarClicked();
      }
    }
  }
};

/***/ }),
/* 177 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * Created by Tw93 on 2016/10/29.
 */

exports.default = {
  closeIcon: 'https://gw.alicdn.com/tfs/TB1THvhpwMPMeJjy1XcXXXpppXa-32-32.png',
  linkIcon: 'https://gw.alicdn.com/tfs/TB1utlZpwMPMeJjy1XdXXasrXXa-32-32.png',
  infoIcon: 'https://gw.alicdn.com/tfs/TB1xdlZpwMPMeJjy1XdXXasrXXa-32-32.png',
  warnIcon: 'https://gw.alicdn.com/tfs/TB1TCvhpwMPMeJjy1XcXXXpppXa-32-32.png',
  successIcon: 'https://gw.alicdn.com/tfs/TB12Em8pwMPMeJjy1XbXXcwxVXa-32-32.png',
  errorIcon: 'https://gw.alicdn.com/tfs/TB1UCvhpwMPMeJjy1XcXXXpppXa-32-32.png',
  questionIcon: 'https://gw.alicdn.com/tfs/TB1vJlZpwMPMeJjy1XdXXasrXXa-32-32.png',
  timeIcon: 'https://gw.alicdn.com/tfs/TB1eSzhpwMPMeJjy1XcXXXpppXa-30-30.png',
  redbag: 'https://gw.alicdn.com/tfs/TB1dCzhpwMPMeJjy1XcXXXpppXa-32-32.png'
};

/***/ }),
/* 178 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (_vm.show) ? _c('div', {
    staticClass: ["wxc-noticebar"],
    attrs: {
      "accessible": true,
      "ariaLabel": _vm.notice
    },
    on: {
      "click": _vm.noticeBarClicked
    }
  }, [(_vm.typeIcon) ? _c('image', {
    staticClass: ["type-ICON"],
    attrs: {
      "src": _vm.typeIcon
    }
  }) : _vm._e(), _c('text', {
    staticClass: ["noticebar-content"],
    style: {
      width: _vm.contentWidth + 'px',
      lines: _vm.lines
    }
  }, [_vm._v(_vm._s(_vm.notice))]), (_vm.modeIcon) ? _c('div', {
    staticClass: ["more-click-content"],
    attrs: {
      "mode": _vm.mode
    },
    on: {
      "click": _vm.noticeIconClicked
    }
  }, [_c('image', {
    staticClass: ["mode-ICON"],
    attrs: {
      "src": _vm.modeIcon
    }
  })]) : _vm._e()]) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 179 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(180);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 180 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(181)
)

/* script */
__vue_exports__ = __webpack_require__(182)

/* template */
var __vue_template__ = __webpack_require__(184)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-page-calendar\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-be1e1d70"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 181 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-page-calendar": {
    "position": "fixed",
    "width": "750",
    "color": "#333333",
    "backgroundColor": "#ffffff"
  },
  "flex-item": {
    "flex": 1,
    "textAlign": "center"
  },
  "calendar-weekday": {
    "height": "60",
    "backgroundColor": "#ffffff",
    "borderBottomWidth": "1",
    "borderTopWidth": "1",
    "borderColor": "#e2e2e2",
    "flexDirection": "row",
    "justifyContent": "space-around",
    "alignItems": "center"
  },
  "weekday-text": {
    "color": "#000000",
    "flex": 1,
    "fontSize": "24",
    "textAlign": "center"
  },
  "calendar-list": {
    "flex": 1
  },
  "month-text": {
    "fontSize": "32",
    "height": "60",
    "lineHeight": "60",
    "width": "750",
    "textAlign": "center",
    "alignItems": "center",
    "backgroundColor": "#f2f3f4"
  },
  "calendar-row": {
    "height": "140",
    "flexDirection": "row",
    "backgroundColor": "#ffffff",
    "borderBottomWidth": "1",
    "borderColor": "#f2f3f4",
    "alignItems": "center",
    "justifyContent": "space-between"
  },
  "row-item": {
    "flex": 1,
    "height": "140",
    "paddingTop": "10",
    "paddingBottom": "10",
    "justifyContent": "center",
    "alignItems": "center"
  },
  "iphone-x": {
    "height": "68"
  },
  "calendar-note": {
    "height": "36",
    "lineHeight": "36",
    "fontSize": "24",
    "color": "#000000",
    "textAlign": "center"
  },
  "calendar-day": {
    "height": "48",
    "lineHeight": "48",
    "fontSize": "36",
    "color": "#000000",
    "textAlign": "center"
  },
  "calendar-ext": {
    "height": "36",
    "lineHeight": "36",
    "color": "#999999",
    "textAlign": "center",
    "fontSize": "24",
    "textOverflow": "ellipsis"
  },
  "calendar-holiday": {
    "color": "#FF5000"
  },
  "calendar-rest": {
    "color": "#FF5000"
  },
  "item-row-selected": {
    "color": "#ffffff",
    "backgroundColor": "#FFC900",
    "textAlign": "center"
  },
  "item-text-selected": {
    "color": "#3d3d3d",
    "textAlign": "center"
  },
  "calendar-disabled": {
    "color": "#CCCCCC"
  },
  "cell-disabled": {
    "backgroundColor": "#FBFBFB"
  },
  "calendar-day-include": {
    "backgroundColor": "#FFF7D6"
  }
}

/***/ }),
/* 182 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _format = __webpack_require__(183);

var Format = _interopRequireWildcard(_format);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _wxcMinibar = __webpack_require__(23);

var _wxcMinibar2 = _interopRequireDefault(_wxcMinibar);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var isWeb = _utils2.default.env.isWeb();

var dom = weex.requireModule('dom');

exports.default = {
  components: { WxcMinibar: _wxcMinibar2.default },
  props: {
    selectedDate: Array,
    animationType: {
      type: String,
      default: 'push'
    },
    dateRange: {
      type: Array,
      required: true,
      default: function _default() {
        return [];
      }
    },
    minibarCfg: {
      type: Object,
      default: function _default() {
        return {
          'title': '选择日期',
          'background-color': '#FFC900',
          'text-color': '#3D3D3D'
        };
      }
    },
    showHeader: {
      type: Boolean,
      default: false
    },
    selectedNote: {
      type: Array,
      default: function _default() {
        return ['开始', '到达', '往返'];
      }
    },
    isRange: {
      type: Boolean,
      default: false
    },
    needDestroy: {
      type: Boolean,
      default: false
    },
    descList: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    selectedCellStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    selectedTextStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      isShow: false,
      reSelect: true,
      today: Format.getToDay(),
      departDate: '',
      arriveDate: ''
    };
  },
  computed: {
    calendarExtendStyle: function calendarExtendStyle() {
      return _utils2.default.uiStyle.pageTransitionAnimationStyle(this.animationType);
    },
    monthsArray: function monthsArray() {
      var range = this.dateRange,
          today = this.today,
          departDate = this.departDate,
          arriveDate = this.arriveDate,
          selectedNote = this.selectedNote,
          descList = this.descList;

      var param = { range: range, today: today, departDate: departDate, arriveDate: arriveDate, selectedNote: selectedNote, descList: descList };
      return Format.generateDateCell(param);
    }
  },
  created: function created() {
    this.isIPhoneX = _utils2.default.env.isIPhoneX();
    this.showTitle = isWeb || this.showHeader;
    this.detectShow();
  },
  mounted: function mounted() {
    var _this = this;

    var needDestroy = this.needDestroy;

    var hold = isWeb ? 700 : 100;
    !needDestroy && setTimeout(function () {
      _this.isShow = true;
      _this.scrollToDate();
    }, hold);
  },

  watch: {
    needDestroy: function needDestroy(newVal, preVal) {
      var _this2 = this;

      if (!newVal && newVal !== preVal) {
        setTimeout(function () {
          _this2.isShow = true;
        }, 200);
      }
    }
  },
  methods: {
    minibarLeftButtonClick: function minibarLeftButtonClick() {
      var _this3 = this;

      setTimeout(function () {
        _this3.hide();
        _this3.$emit('wxcPageCalendarBackClicked', {});
      }, 100);
    },
    onClickDate: function onClickDate(datConfig) {
      var self = this;
      if (datConfig.disabled || datConfig.isEmpty) return;

      if (self.reSelect) {
        self.departDate = '';
        self.arriveDate = '';
        self.reSelect = false;
      }

      if (self.isRange) {
        if (self.departDate && Date.parse(self.departDate) <= Date.parse(datConfig.date)) {
          self.arriveDate = datConfig.date;
        } else {
          self.departDate = datConfig.date;
        }
        if (self.departDate && self.arriveDate) {
          self.dispatchDateChange([self.departDate, self.arriveDate]);
        }
      } else {
        self.departDate = datConfig.date;
        self.dispatchDateChange([self.departDate]);
      }
    },
    scrollToDate: function scrollToDate() {
      var _this4 = this;

      setTimeout(function () {
        if (_this4.departDate) {
          var el = _this4.$refs.departDate[0];
          el && dom.getComponentRect && dom.getComponentRect(el, function (e) {
            if (e && e.result) {
              var bottom = e.size.bottom;
              var env = weex.config.env;
              // 误差

              var height = env.deviceHeight / env.deviceWidth * 750 - 50;
              if (bottom > height || bottom === 0) {
                dom.scrollToElement(el, { offset: -146, animated: false });
              }
            }
          });
        }
      }, 10);
    },
    dispatchDateChange: function dispatchDateChange(dateArr) {
      var _this5 = this;

      var duration = isWeb ? 400 : 600;
      setTimeout(function () {
        _this5.hide();
      }, duration);
      this.$emit('wxcPageCalendarDateSelected', {
        date: dateArr
      });
    },
    detectShow: function detectShow() {
      if (this.isRange && this.selectedDate.length >= 2) {
        this.departDate = this.selectedDate[0];
        this.arriveDate = this.selectedDate[1];
      } else if (this.selectedDate.length >= 1) {
        this.departDate = this.selectedDate[0];
        this.arriveDate = '';
      }
    },
    _animate: function _animate(status) {
      var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;

      var ref = this.$refs.pageCalendar;
      if (this.animationType === 'push') {
        _utils2.default.animation.pageTransitionAnimation(ref, 'translateX(' + (status ? -750 : 750) + 'px)', status, callback);
      } else if (this.animationType === 'model') {
        _utils2.default.animation.pageTransitionAnimation(ref, 'translateY(' + (status ? -_utils2.default.env.getScreenHeight() : _utils2.default.env.getScreenHeight()) + 'px)', status, callback);
      }
    },
    show: function show() {
      var needDestroy = this.needDestroy;

      needDestroy && (this.isShow = true);
      this.reSelect = true;
      this.detectShow();
      this._animate(true);
      needDestroy && this.scrollToDate();
    },
    hide: function hide() {
      this.needDestroy && (this.isShow = false);
      this.reSelect = false;
      this._animate(false);
      this.$emit('wxcPageCalendarHide', {});
    }
  }
};

/***/ }),
/* 183 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports._getTraditionalHoliday = _getTraditionalHoliday;
exports._isDate = _isDate;
exports._checkHash = _checkHash;
exports.getTime = getTime;
exports._isInRange = _isInRange;
exports._isInSelectRange = _isInSelectRange;
exports._fixNum = _fixNum;
exports._isWeekend = _isWeekend;
exports._isToday = _isToday;
exports._getMonthDays = _getMonthDays;
exports._getPadding = _getPadding;
exports._unique = _unique;
exports.getToDay = getToDay;
exports.getWeekRows = getWeekRows;
exports.generateDateCell = generateDateCell;

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

/**
 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
 * Created by Tw93 on 2017/07/29.
 */

// 国际节日
var GLOBAL_HOLIDAY = exports.GLOBAL_HOLIDAY = {
  '01-01': '元旦',
  '02-14': '情人',
  '05-01': '劳动',
  '06-01': '儿童',
  '10-01': '国庆',
  '12-25': '圣诞'
};

// 传统节日
var TRADITIONAL_HOLIDAY = {
  '除夕': ['2015-02-18', '2016-02-07', '2017-01-27', '2018-02-15', '2019-02-04', '2020-01-24'],
  '春节': ['2015-02-19', '2016-02-08', '2017-01-28', '2018-02-16', '2019-02-05', '2020-01-25'],
  '元宵': ['2015-03-05', '2016-02-22', '2017-02-11', '2018-03-02', '2019-02-19', '2020-02-08'],
  '清明': ['2015-04-05', '2016-04-04', '2017-04-04', '2018-04-05', '2019-04-05', '2020-04-04'],
  '端午': ['2015-06-20', '2016-06-09', '2017-05-30', '2018-06-18', '2019-06-07', '2020-06-25'],
  '中秋': ['2015-09-27', '2016-09-15', '2017-10-04', '2018-09-24', '2019-09-13', '2020-10-01'],
  '重阳': ['2015-10-21', '2016-10-09', '2017-10-28', '2018-10-17', '2019-10-07', '2020-10-25']
};

// 放假日
var REST_DAYS = ['2017-10-01', '2017-10-02', '2017-10-03', '2017-10-04', '2017-10-05', '2017-10-06', '2017-10-07', '2017-10-08'];

// 工作日
var WORK_DAYS = ['2017-09-30'];

function _getTraditionalHoliday() {
  var HOLIDAY_TEMP = {};

  var keys = Object.keys(TRADITIONAL_HOLIDAY);
  keys.forEach(function (k) {
    var arr = TRADITIONAL_HOLIDAY[k];
    arr.forEach(function (i) {
      HOLIDAY_TEMP[i] = k;
    });
  });
  return HOLIDAY_TEMP;
}

function _isDate(obj) {
  var type = obj === null ? String(obj) : {}.toString.call(obj) || 'object';
  return type === '[object date]';
}

/**
 * 检测Hash
 *
 * @method _checkHash
 * @private
 */
function _checkHash(url, hash) {
  return url && url.match(/#/) && url.replace(/^.*#/, '') === hash;
}

/**
 * 获取当前日期的毫秒数
 * @method getTime
 * @param {String} date
 * @return {Number}
 */
function getTime(date) {
  if (_isDate(date)) {
    return new Date(date).getTime();
  } else {
    try {
      return new Date(date.replace(/-/g, '/')).getTime();
    } catch (e) {
      return 0;
    }
  }
}

function _isInRange(range, date) {
  var start = getTime(range[0]);
  var end = getTime(range[1]);
  var d = getTime(date);
  return start <= d && end >= d;
}

function _isInSelectRange(range, date) {
  var start = getTime(range[0]);
  var end = getTime(range[1]);
  var d = getTime(date);
  return start < d && end > d;
}

function _fixNum(num) {
  return (num < 10 ? '0' : '') + num;
}

/**
 * 是否是周末
 * @method isWeekend
 * @param {String} date
 * @return {Boolean}
 */
function _isWeekend(date) {
  var day = new Date(date.replace(/-/g, '/')).getDay();
  return day === 0 || day === 6;
}

/**
 * 是否是今天
 * @method isToday
 * @param {String} date
 * @return {Boolean}
 */
function _isToday(today, date) {
  return getTime(today) === getTime(date);
}

/**
 * 检查是否是闰年
 * @method _checkLeapYear
 * @param {Number} y 年份
 * @param {Date} t today
 * @protected
 */
function _getMonthDays(y, t) {
  var MONTH_DAYS = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
  var year = y || t.getFullYear();
  var isLeapYear = false;

  if (year % 100) {
    isLeapYear = !(year % 4);
  } else {
    isLeapYear = !(year % 400);
  }

  if (isLeapYear) {
    MONTH_DAYS[1] = 29;
  } else {
    MONTH_DAYS[1] = 28;
  }
  return MONTH_DAYS;
}

/**
 * 当月1号前面有多少空格
 * @method _getPadding
 * @protected
 */
function _getPadding(year, month) {
  var date = new Date(year + '/' + month + '/1');
  return date.getDay();
}

function _unique(array) {
  return Array.prototype.filter.call(array, function (item, index) {
    return array.indexOf(item) === index;
  });
}

function getToDay() {
  return new Date().getFullYear() + '-' + _fixNum(new Date().getMonth() + 1) + '-' + _fixNum(new Date().getDate());
}

function getWeekRows(y, m, today, dateRange, departDate, arriveDate, selectedNote, descList) {
  var monthDays = _getMonthDays(y, today);
  var padding = _getPadding(y, m, 7);
  var num = monthDays[m - 1] + padding;
  var rows = Math.ceil(num / 7);
  var remain = num % 7;
  var rowsData = [];

  for (var i = 1; i <= rows; i++) {
    var cells = [];

    for (var j = 1; j <= 7; j++) {
      var cell = {};
      // 前后空格
      if (i === 1 && j <= padding || remain && i === rows && j > remain) {
        cell.isEmpty = true;
      } else {
        (function () {
          var d = (i - 1) * 7 + j - padding;
          var date = y + '-' + _fixNum(m) + '-' + _fixNum(d);
          var cls = [];
          var ref = '';
          var cellClass = [];
          var isInRange = _isInRange(dateRange, date);
          var disabled = false;
          var global = _fixNum(m) + '-' + _fixNum(d);
          var note = '';
          var ext = '';
          var isSelected = false;

          if (descList && descList.length > 0) {
            var nowDesc = descList.filter(function (item) {
              return item.date === date;
            });
            if (nowDesc && nowDesc.length > 0) {
              ext = nowDesc[0].value;
              if (nowDesc[0].emphasize) {
                cls.push('calendar-holiday');
              }
            }
          }

          // 国际节日
          if (GLOBAL_HOLIDAY[global]) {
            note = GLOBAL_HOLIDAY[global];
            cls.push('calendar-holiday');
          }

          var tHoliday = _getTraditionalHoliday()[date];

          // 传统节日
          if (tHoliday) {
            note = tHoliday;
            cls.push('calendar-holiday');
          }
          // 放假日
          if (REST_DAYS.indexOf(date) > -1) {
            cls.push('calendar-holiday');
          }

          // 工作日
          if (WORK_DAYS.indexOf(date) > -1) {
            cls.push('calendar-work');
          }

          // 周末
          if (_isWeekend(date)) {
            cls.push('calendar-holiday');
          }

          // 今天
          if (_isToday(today, date)) {
            cls.push('calendar-today');
            note = '今天';
          }

          // 不在日期范围内
          if (!isInRange) {
            disabled = true;
          }

          if (disabled) {
            cls = [];
            cls.push('calendar-disabled');
            cellClass.push('cell-disabled');
          }

          if (!ext && disabled && isInRange) {
            ext = '不可选';
          }

          if (departDate === date || arriveDate === date) {
            note = departDate === date ? selectedNote[0] : selectedNote[1];
            ref = departDate === date ? 'departDate' : 'arriveDate';
            if (departDate === arriveDate && selectedNote.length >= 3) {
              note = selectedNote[2];
            }
            isSelected = true;
            cls.push('item-text-selected');
            cellClass.push('item-row-selected');
          }

          if (departDate && arriveDate && _isInSelectRange([departDate, arriveDate], date)) {
            cellClass.push('calendar-day-include');
          }

          cell = {
            isSelected: isSelected,
            isEmpty: false,
            ref: ref,
            cls: _unique(cls).join(' '),
            cellClass: _unique(cellClass).join(' '),
            note: note,
            date: date,
            ext: ext,
            disabled: disabled,
            text: d
          };
        })();
      }
      cells.push(cell);
    }

    rowsData.push(cells);
  }

  return rowsData;
}

function generateDateCell(_ref) {
  var range = _ref.range,
      today = _ref.today,
      departDate = _ref.departDate,
      arriveDate = _ref.arriveDate,
      selectedNote = _ref.selectedNote,
      descList = _ref.descList;

  var start = new Date(range[0].replace(/-/g, '/'));
  var end = new Date(range[1].replace(/-/g, '/'));
  var startYear = start.getFullYear();
  var startMonth = start.getMonth() + 1;
  var endYear = end.getFullYear();
  var endMonth = end.getMonth() + 1;

  var l = (endYear - startYear) * 12 + endMonth - startMonth + 1;
  var y = startYear;
  var n = startMonth;
  var months = [];

  for (var i = 0; i < l; i++) {
    if (n > 12) {
      n = 1;
      y++;
    }
    months.push.apply(months, [{ title: y + '-' + _fixNum(n) }].concat(_toConsumableArray(getWeekRows(y, n, today, range, departDate, arriveDate, selectedNote, descList))));
    n++;
  }
  return months;
}

/***/ }),
/* 184 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    ref: "pageCalendar",
    staticClass: ["wxc-page-calendar"],
    style: _vm.calendarExtendStyle
  }, [_c('wxc-minibar', _vm._b({
    attrs: {
      "show": _vm.showTitle,
      "useDefaultReturn": false
    },
    on: {
      "wxcMinibarLeftButtonClicked": _vm.minibarLeftButtonClick
    }
  }, 'wxc-minibar', _vm.minibarCfg, false)), (_vm.isShow) ? _c('div', {
    staticClass: ["calendar-weekday"]
  }, _vm._l((['日', '一', '二', '三', '四', '五', '六']), function(week, k) {
    return _c('text', {
      key: k,
      staticClass: ["flex-item", "weekday-text"],
      attrs: {
        "ariaLabel": ("周" + week)
      }
    }, [_vm._v(_vm._s(week))])
  })) : _vm._e(), (_vm.isShow) ? _c('list', {
    staticClass: ["calendar-list"]
  }, [_vm._l((_vm.monthsArray), function(month, index) {
    return _c('cell', {
      key: index,
      class: [!month.title && 'calendar-row'],
      appendAsTree: true,
      attrs: {
        "append": "tree"
      }
    }, [(month.title) ? _c('text', {
      staticClass: ["month-text"]
    }, [_vm._v(_vm._s(month.title))]) : _vm._l((month), function(cell, rowIndex) {
      return _c('div', {
        key: (index + "-" + rowIndex),
        ref: cell.ref,
        refInFor: true,
        class: ['row-item', cell.cellClass],
        style: cell.isSelected ? _vm.selectedCellStyle : {},
        attrs: {
          "accessible": true,
          "ariaLabel": ((cell.text?cell.text:'') + "," + (cell.note?cell.note:'') + "," + (cell.ext?cell.ext:''))
        },
        on: {
          "click": function($event) {
            _vm.onClickDate(cell)
          }
        }
      }, [_c('text', {
        class: ['calendar-note', cell.cls],
        style: cell.isSelected ? _vm.selectedTextStyle : {}
      }, [_vm._v(_vm._s(cell.note))]), _c('text', {
        class: ['calendar-day', cell.cls],
        style: cell.isSelected ? _vm.selectedTextStyle : {}
      }, [_vm._v(_vm._s(cell.text))]), _c('text', {
        class: ['calendar-ext', cell.cls],
        style: cell.isSelected ? _vm.selectedTextStyle : {}
      }, [_vm._v(_vm._s(cell.ext))])])
    })], 2)
  }), (_vm.isIPhoneX) ? _c('cell', {
    staticClass: ["iphone-x"],
    appendAsTree: true,
    attrs: {
      "append": "tree"
    }
  }) : _vm._e()], 2) : _vm._e()], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 185 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(186);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 186 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* script */
__vue_exports__ = __webpack_require__(187)

/* template */
var __vue_template__ = __webpack_require__(188)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-pan-item\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 187 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _indexWeex = __webpack_require__(7);

var _indexWeex2 = _interopRequireDefault(_indexWeex);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _bindEnv = __webpack_require__(6);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  props: {
    url: {
      type: String,
      default: ''
    },
    needSlider: {
      type: Boolean,
      default: true
    }
  },
  data: function data() {
    return {
      isPanning: false,
      appearMap: [],
      supportAndroid: _bindEnv2.default.supportsEBForAndroid()
    };
  },
  mounted: function mounted() {
    var _this = this;

    setTimeout(function () {
      if (_this.supportAndroid && _this.needSlider) {
        var element = _this.$refs['wxc-pan-item'];
        _indexWeex2.default.prepare && _indexWeex2.default.prepare({
          anchor: element.ref,
          eventType: 'pan'
        });
      }
    }, 300);
  },

  methods: {
    itemClicked: function itemClicked() {
      if (this.isPanning) {
        return;
      }
      this.url && _utils2.default.goToH5Page(this.url, true);
      this.$emit('wxcPanItemClicked', { extId: this.extId });
    },
    dispatchPan: function dispatchPan(e) {
      var _this2 = this;

      if (this.supportAndroid && this.needSlider) {
        if (e.state === 'start') {
          this.isPanning = true;
          var element = this.$refs['wxc-pan-item'];
          element && this.$emit('wxcPanItemPan', { element: element });
        } else if (e.state === 'end') {
          setTimeout(function () {
            _this2.isPanning = false;
          }, 50);
        }
      }
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 188 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.supportAndroid) ? _c('div', {
    ref: "wxc-pan-item",
    on: {
      "horizontalpan": _vm.dispatchPan,
      "appear": _vm.onItemAppear,
      "disappear": _vm.onItemDisAppear,
      "click": _vm.itemClicked
    }
  }, [_vm._t("default")], 2) : _c('div', {
    ref: "wxc-pan-item",
    on: {
      "click": _vm.itemClicked
    }
  }, [_vm._t("default")], 2)])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 189 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(190);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 190 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* script */
__vue_exports__ = __webpack_require__(191)

/* template */
var __vue_template__ = __webpack_require__(192)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-part-loading\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 191 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _type = __webpack_require__(22);

exports.default = {
  props: {
    show: {
      type: Boolean,
      default: false
    },
    width: {
      type: [Number, String],
      default: 36
    },
    height: {
      type: [Number, String],
      default: 36
    }
  },
  data: function data() {
    return {
      PART: _type.PART
    };
  },
  computed: {
    loadingStyle: function loadingStyle() {
      var height = this.height,
          width = this.width;

      return {
        height: height + 'px',
        width: width + 'px'
      };
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 192 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.show) ? _c('image', {
    style: _vm.loadingStyle,
    attrs: {
      "src": _vm.PART,
      "resize": "contain",
      "quality": "original"
    }
  }) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 193 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(194);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 194 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(195)
)

/* script */
__vue_exports__ = __webpack_require__(196)

/* template */
var __vue_template__ = __webpack_require__(197)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-popover\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-e97beb1e"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 195 */
/***/ (function(module, exports) {

module.exports = {
  "wrapper": {
    "zIndex": 999
  },
  "g-cover": {
    "position": "fixed",
    "top": 0,
    "right": 0,
    "left": 0,
    "bottom": 0,
    "backgroundColor": "rgba(0,0,0,0.4)",
    "zIndex": 1
  },
  "g-popover": {
    "position": "fixed",
    "paddingTop": "15",
    "paddingRight": "15",
    "paddingBottom": "15",
    "paddingLeft": "15",
    "zIndex": 10
  },
  "u-popover-arrow": {
    "position": "absolute",
    "borderRadius": "4",
    "width": "30",
    "height": "30",
    "backgroundColor": "#ffffff"
  },
  "u-popover-inner": {
    "borderRadius": "10",
    "backgroundColor": "#ffffff"
  },
  "i-btn": {
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center",
    "marginLeft": "20",
    "marginRight": "20",
    "paddingLeft": "20",
    "paddingRight": "20",
    "borderBottomWidth": "1",
    "borderBottomColor": "#dddddd"
  },
  "i-btn-noborder": {
    "borderBottomColor": "#ffffff"
  },
  "btn-icon": {
    "width": "32",
    "height": "32",
    "marginRight": "16"
  },
  "btn-text": {
    "flex": 1,
    "height": "80",
    "fontSize": "30",
    "lineHeight": "80"
  },
  "text-align-center": {
    "textAlign": "center"
  }
}

/***/ }),
/* 196 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');
exports.default = {
  props: {
    buttons: {
      type: Array,
      default: []
    },
    position: {
      type: Object,
      default: function _default() {
        return {
          x: 0,
          y: 0
        };
      }
    },
    arrowPosition: {
      type: Object,
      default: function _default() {
        return {
          pos: 'top',
          x: 0,
          y: 0
        };
      }
    },
    coverColor: {
      type: String,
      default: 'rgba(0, 0, 0, 0.4)'
    },
    hasAnimation: {
      type: Boolean,
      default: true
    },
    textStyle: Object
  },
  data: function data() {
    return {
      show: false,
      showIn: false
    };
  },
  computed: {
    coverStyle: function coverStyle() {
      return this.coverColor ? { backgroundColor: this.coverColor, opacity: this.hasAnimation || !this.showIn ? '0' : '1' } : '';
    },
    transformOrigin: function transformOrigin() {
      var _arrowPosition = this.arrowPosition,
          _arrowPosition$x = _arrowPosition.x,
          x = _arrowPosition$x === undefined ? 0 : _arrowPosition$x,
          _arrowPosition$y = _arrowPosition.y,
          y = _arrowPosition$y === undefined ? 0 : _arrowPosition$y,
          _arrowPosition$pos = _arrowPosition.pos,
          pos = _arrowPosition$pos === undefined ? 'top' : _arrowPosition$pos,
          _origins = [];

      switch (pos) {
        case 'top':
        case 'bottom':
          _origins = [x < 0 ? 'right' : 'left', pos];
          break;
        case 'left':
        case 'right':
          _origins = [pos, y < 0 ? 'bottom' : 'top'];
          break;
      }
      return _origins.join(' ');
    },
    contentTransform: function contentTransform() {
      var _arrowPosition2 = this.arrowPosition,
          _arrowPosition2$x = _arrowPosition2.x,
          x = _arrowPosition2$x === undefined ? 0 : _arrowPosition2$x,
          _arrowPosition2$y = _arrowPosition2.y,
          y = _arrowPosition2$y === undefined ? 0 : _arrowPosition2$y,
          _arrowPosition2$pos = _arrowPosition2.pos,
          pos = _arrowPosition2$pos === undefined ? 'top' : _arrowPosition2$pos,
          _translates = ['scale(0)'];

      if (x >= 0 && x < 22) {
        x = 22;
      } else if (x < 0 && x > -22) {
        x = -22;
      }
      if (y >= 0 && y < 22) {
        y = 22;
      } else if (y < 0 && y > -22) {
        y = -22;
      }
      switch (pos) {
        case 'top':
        case 'bottom':
          _translates[1] = 'translateX(' + (x < 0 ? x - 15 : x + 15) + 'px)';
          break;
        case 'left':
        case 'right':
          _translates[1] = 'translateY(' + (y < 0 ? y - 15 : y + 15) + 'px)';
          break;
      }
      return _translates.join(' ');
    },
    contentStyle: function contentStyle() {
      var _position = this.position,
          _position$x = _position.x,
          x = _position$x === undefined ? 0 : _position$x,
          _position$y = _position.y,
          y = _position$y === undefined ? 0 : _position$y,
          style = {};

      x < 0 ? style.right = -x + 'px' : style.left = x + 'px';
      y < 0 ? style.bottom = -y + 'px' : style.top = y + 'px';
      style.opacity = this.hasAnimation || !this.showIn ? '0' : '1';
      style.transform = this.hasAnimation || !this.showIn ? this.contentTransform : 'scale(1)';
      style.transformOrigin = this.transformOrigin;
      return style;
    },
    arrowStyle: function arrowStyle() {
      var _arrowPosition3 = this.arrowPosition,
          _arrowPosition3$pos = _arrowPosition3.pos,
          pos = _arrowPosition3$pos === undefined ? 'top' : _arrowPosition3$pos,
          _arrowPosition3$x = _arrowPosition3.x,
          x = _arrowPosition3$x === undefined ? 0 : _arrowPosition3$x,
          _arrowPosition3$y = _arrowPosition3.y,
          y = _arrowPosition3$y === undefined ? 0 : _arrowPosition3$y,
          style = {};

      switch (pos) {
        case 'top':
          style.top = '6px';
        case 'bottom':
          !style.top && (style.bottom = '6px');
          style.transform = 'scaleX(0.8) rotate(45deg)';
          if (x >= 0 && x < 22) {
            x = 22;
          } else if (x < 0 && x > -22) {
            x = -22;
          }
          x < 0 ? style.right = -x + 'px' : style.left = x + 'px';
          break;
        case 'left':
          style.left = '6px';
        case 'right':
          !style.left && (style.right = '6px');
          style.transform = 'scaleY(0.8) rotate(45deg)';
          if (y >= 0 && y < 22) {
            y = 22;
          } else if (y < 0 && y > -22) {
            y = -22;
          }
          y < 0 ? style.bottom = -y + 'px' : style.top = y + 'px';
          break;
        default:
          break;
      }
      return style;
    }
  },
  methods: {
    wxcPopoverShow: function wxcPopoverShow() {
      var _this = this;

      if (!!this.animationLock) {
        return;
      }
      this.show = true;
      if (this.hasAnimation) {
        setTimeout(function () {
          return _this.wxcPopoverAnimationShow();
        }, 40);
      } else {
        setTimeout(function () {
          return _this.showIn = true;
        }, 40);
      }
    },

    /**
    * smooth in
    **/
    wxcPopoverAnimationShow: function wxcPopoverAnimationShow() {
      var _this2 = this;

      var popoverEl = this.$refs['wxc-popover'];
      var coverEl = this.$refs['wxc-cover'];
      if (!coverEl || !popoverEl) {
        return;
      }
      this.setAnimationLock();
      var a1End = false,
          a2End = false;
      animation.transition(popoverEl, {
        styles: {
          opacity: 1,
          transform: "scale(1)",
          transformOrigin: this.transformOrigin
        },
        delay: 0,
        duration: 250,
        timingFunction: 'ease-out'
      }, function (e) {
        a1End = true;
        if (a1End && a2End) {
          _this2.animationLock = false;
        }
      });

      animation.transition(coverEl, {
        styles: {
          opacity: 1
        },
        delay: 0,
        duration: 250,
        timingFunction: 'ease-in'
      }, function (e) {
        a2End = true;
        if (a1End && a2End) {
          _this2.animationLock = false;
        }
      });
    },
    wxcButtonClicked: function wxcButtonClicked(index, key) {
      if (!!this.animationLock) {
        return;
      }
      this.$emit('wxcPopoverButtonClicked', { key: key, index: index });
      this.hideAction();
    },

    /**
    * 隐藏操作
    */
    hideAction: function hideAction() {
      var _this3 = this;

      if (!!this.animationLock) {
        return;
      }
      if (this.hasAnimation) {
        this.setAnimationLock();
        var popoverEl = this.$refs['wxc-popover'];
        var coverEl = this.$refs['wxc-cover'];
        if (!popoverEl || !coverEl) {
          return;
        }
        var a1End = false,
            a2End = false;
        animation.transition(popoverEl, {
          styles: {
            opacity: 0,
            transform: this.contentTransform,
            transformOrigin: this.transformOrigin
          },
          duration: 250
        }, function () {
          a1End = true;
          if (a1End && a2End) {
            _this3.show = false;
            _this3.showIn = false;
            _this3.animationLock = false;
          }
        });
        animation.transition(coverEl, {
          styles: {
            opacity: 0
          },
          duration: 250
        }, function () {
          a2End = true;
          if (a1End && a2End) {
            _this3.show = false;
            _this3.showIn = false;
            _this3.animationLock = false;
          }
        });
      } else {
        this.show = false;
        this.showIn = false;
      }
    },

    /**
    * 设置动画锁
    */
    setAnimationLock: function setAnimationLock() {
      this.animationLock = true;
    }
  }
};

/***/ }),
/* 197 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wrapper"]
  }, [(_vm.show) ? _c('div', {
    ref: "wxc-cover",
    staticClass: ["g-cover"],
    style: _vm.coverStyle,
    on: {
      "touchend": _vm.hideAction
    }
  }) : _vm._e(), (_vm.show && _vm.buttons) ? _c('div', {
    ref: "wxc-popover",
    staticClass: ["g-popover"],
    style: _vm.contentStyle
  }, [_c('div', {
    staticClass: ["u-popover-arrow"],
    style: _vm.arrowStyle
  }), _c('div', {
    staticClass: ["u-popover-inner"]
  }, _vm._l((_vm.buttons), function(item, i) {
    return _c('div', {
      key: i,
      class: ['i-btn', i === _vm.buttons.length - 1 ? 'i-btn-noborder' : ''],
      on: {
        "click": function($event) {
          _vm.wxcButtonClicked(i, item.key)
        }
      }
    }, [(item.icon) ? _c('image', {
      staticClass: ["btn-icon"],
      attrs: {
        "src": item.icon
      }
    }) : _vm._e(), _c('text', {
      staticClass: ["btn-text"],
      style: _vm.textStyle
    }, [_vm._v(_vm._s(item.text))])])
  }))]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 198 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(199);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 199 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(200)
)

/* script */
__vue_exports__ = __webpack_require__(201)

/* template */
var __vue_template__ = __webpack_require__(202)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-popup\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-ef24f190"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 200 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-popup": {
    "position": "fixed",
    "width": "750"
  },
  "top": {
    "left": 0,
    "right": 0
  },
  "bottom": {
    "left": 0,
    "right": 0
  },
  "left": {
    "bottom": 0,
    "top": 0
  },
  "right": {
    "bottom": 0,
    "top": 0
  }
}

/***/ }),
/* 201 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

var _wxcOverlay = __webpack_require__(8);

var _wxcOverlay2 = _interopRequireDefault(_wxcOverlay);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');
var platform = weex.config.env.platform;

var isWeb = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && platform.toLowerCase() === 'web';
exports.default = {
  components: { WxcOverlay: _wxcOverlay2.default },
  props: {
    show: {
      type: Boolean,
      default: false
    },
    pos: {
      type: String,
      default: 'bottom'
    },
    popupColor: {
      type: String,
      default: '#FFFFFF'
    },
    overlayCfg: {
      type: Object,
      default: function _default() {
        return {
          hasAnimation: true,
          timingFunction: ['ease-in', 'ease-out'],
          duration: 300,
          opacity: 0.6
        };
      }
    },
    height: {
      type: [Number, String],
      default: 840
    },
    standOut: {
      type: [Number, String],
      default: 0
    },
    width: {
      type: [Number, String],
      default: 750
    },
    animation: {
      type: Object,
      default: function _default() {
        return {
          timingFunction: 'ease-in'
        };
      }
    }
  },
  data: function data() {
    return {
      haveOverlay: true,
      isOverShow: true
    };
  },
  computed: {
    isNeedShow: function isNeedShow() {
      var _this = this;

      setTimeout(function () {
        _this.appearPopup(_this.show);
      }, 50);
      return this.show;
    },
    _height: function _height() {
      this.appearPopup(this.show, 150);
      return this.height;
    },
    padStyle: function padStyle() {
      var pos = this.pos,
          width = this.width,
          height = this.height,
          popupColor = this.popupColor,
          standOut = this.standOut;

      var stand = parseInt(standOut, 10);
      var style = {
        width: width + 'px',
        backgroundColor: popupColor
      };
      pos === 'top' && (style = _extends({}, style, {
        top: -height + stand + 'px',
        height: height + 'px'
      }));
      pos === 'bottom' && (style = _extends({}, style, {
        bottom: -height + stand + 'px',
        height: height + 'px'
      }));
      pos === 'left' && (style = _extends({}, style, {
        left: -width + stand + 'px'
      }));
      pos === 'right' && (style = _extends({}, style, {
        right: -width + stand + 'px'
      }));
      return style;
    }
  },
  methods: {
    handleTouchEnd: function handleTouchEnd(e) {
      // 在支付宝上面有点击穿透问题
      var platform = weex.config.env.platform;

      platform === 'Web' && e.preventDefault && e.preventDefault();
    },
    hide: function hide() {
      this.appearPopup(false);
      this.$refs.overlay.appearOverlay(false);
    },
    wxcOverlayBodyClicking: function wxcOverlayBodyClicking() {
      this.isShow && this.appearPopup(false);
    },
    appearPopup: function appearPopup(bool) {
      var _this2 = this;

      var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;

      this.isShow = bool;
      var popupEl = this.$refs['wxc-popup'];
      if (!popupEl) {
        return;
      }
      animation.transition(popupEl, _extends({
        styles: {
          transform: this.getTransform(this.pos, this.width, this.height, !bool)
        },
        duration: duration,
        delay: 0
      }, this.animation), function () {
        if (!bool) {
          _this2.$emit('wxcPopupOverlayClicked', { pos: _this2.pos });
        }
      });
    },
    getTransform: function getTransform(pos, width, height, bool) {
      var _size = pos === 'top' || pos === 'bottom' ? height : width;
      bool && (_size = 0);
      var _transform = void 0;
      switch (pos) {
        case 'top':
          _transform = 'translateY(' + _size + 'px)';
          break;
        case 'bottom':
          _transform = 'translateY(-' + _size + 'px)';
          break;
        case 'left':
          _transform = 'translateX(' + _size + 'px)';
          break;
        case 'right':
          _transform = 'translateX(-' + _size + 'px)';
          break;
      }
      return _transform;
    }
  }
};

/***/ }),
/* 202 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    on: {
      "touchend": _vm.handleTouchEnd
    }
  }, [(_vm.show) ? _c('wxc-overlay', _vm._b({
    ref: "overlay",
    attrs: {
      "show": _vm.haveOverlay && _vm.isOverShow
    },
    on: {
      "wxcOverlayBodyClicking": _vm.wxcOverlayBodyClicking
    }
  }, 'wxc-overlay', _vm.overlayCfg, false)) : _vm._e()], 1), (_vm.show) ? _c('div', {
    ref: "wxc-popup",
    class: ['wxc-popup', _vm.pos],
    style: _vm.padStyle,
    attrs: {
      "height": _vm._height,
      "hack": _vm.isNeedShow
    },
    on: {
      "click": function () {}
    }
  }, [_vm._t("default")], 2) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 203 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(204);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 204 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(205)
)

/* script */
__vue_exports__ = __webpack_require__(206)

/* template */
var __vue_template__ = __webpack_require__(207)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-progress\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-6fb0dabd"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 205 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-progress": {
    "backgroundColor": "#f2f3f4"
  },
  "progress": {
    "position": "absolute",
    "backgroundColor": "#FFC900"
  }
}

/***/ }),
/* 206 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    barColor: {
      type: String,
      default: '#FFC900'
    },
    barWidth: {
      type: Number,
      default: 600
    },
    barHeight: {
      type: Number,
      default: 8
    },
    barRadius: {
      type: Number,
      default: 0
    },
    value: {
      type: Number,
      default: 0
    }
  },
  computed: {
    runWayStyle: function runWayStyle() {
      var barWidth = this.barWidth,
          barHeight = this.barHeight,
          barRadius = this.barRadius;

      return {
        width: barWidth + 'px',
        height: barHeight + 'px',
        borderRadius: barRadius + 'px'
      };
    },
    progressStyle: function progressStyle() {
      var value = this.value,
          barWidth = this.barWidth,
          barHeight = this.barHeight,
          barColor = this.barColor,
          barRadius = this.barRadius;

      var newValue = value < 0 ? 0 : value > 100 ? 100 : value;
      return {
        backgroundColor: barColor,
        borderRadius: barRadius + 'px',
        height: barHeight + 'px',
        width: newValue / 100 * barWidth + 'px'
      };
    }
  }
};

/***/ }),
/* 207 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-progress"],
    style: _vm.runWayStyle,
    attrs: {
      "accessible": true,
      "ariaLabel": ("进度为百分之" + _vm.value)
    }
  }, [_c('div', {
    staticClass: ["progress"],
    style: _vm.progressStyle
  })])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 208 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(209);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 209 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(210)
)

/* script */
__vue_exports__ = __webpack_require__(211)

/* template */
var __vue_template__ = __webpack_require__(217)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-radio\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-7ab2d872"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 210 */
/***/ (function(module, exports) {

module.exports = {}

/***/ }),
/* 211 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _item = __webpack_require__(212);

var _item2 = _interopRequireDefault(_item);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: { wxcRadio: _item2.default },
  props: {
    list: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    config: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      checkedIndex: -1
    };
  },
  computed: {
    updateList: function updateList() {
      var checkedIndex = this.checkedIndex,
          list = this.list;

      var updateList = [];
      list && list.forEach(function (item, i) {
        item.checked = i === checkedIndex;
        updateList.push(item);
      });
      return updateList;
    }
  },
  watch: {
    list: function list(newList) {
      this.setListChecked(newList);
    }
  },
  created: function created() {
    this.setListChecked(this.list);
  },

  methods: {
    setListChecked: function setListChecked(list) {
      var _this = this;

      if (list && list.length > 0) {
        list.forEach(function (item, i) {
          item.checked && (_this.checkedIndex = i);
        });
      }
    },
    wxcRadioItemChecked: function wxcRadioItemChecked(i, e) {
      var oldIndex = this.checkedIndex;
      var _list$i = this.list[i],
          value = _list$i.value,
          title = _list$i.title;

      this.checkedIndex = i;
      this.$emit('wxcRadioListChecked', { value: value, title: title, oldIndex: oldIndex, index: i });
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 212 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(213)
)

/* script */
__vue_exports__ = __webpack_require__(214)

/* template */
var __vue_template__ = __webpack_require__(216)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-radio\\item.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-6c5a49a4"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 213 */
/***/ (function(module, exports) {

module.exports = {
  "radio": {
    "width": "48",
    "height": "48"
  },
  "title-text": {
    "fontSize": "30"
  }
}

/***/ }),
/* 214 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _wxcCell = __webpack_require__(10);

var _wxcCell2 = _interopRequireDefault(_wxcCell);

var _type = __webpack_require__(215);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  components: { WxcCell: _wxcCell2.default },
  props: {
    hasTopBorder: {
      type: Boolean,
      default: false
    },
    title: {
      type: String,
      require: true
    },
    value: {
      type: [String, Number, Object],
      require: true
    },
    disabled: {
      type: Boolean,
      default: false
    },
    checked: {
      type: Boolean,
      default: false
    },
    config: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      icon: [_type.CHECKED, _type.DISABLED]
    };
  },
  computed: {
    radioIcon: function radioIcon() {
      var icon = this.icon,
          disabled = this.disabled,
          checked = this.checked,
          config = this.config;

      var mergeIcon = icon;
      config.checkedIcon && (mergeIcon[0] = config.checkedIcon);
      config.disabledIcon && (mergeIcon[1] = config.disabledIcon);
      return checked ? mergeIcon[disabled ? 1 : 0] : '';
    },
    backgroundColor: function backgroundColor() {
      var disabled = this.disabled;

      return disabled ? '#F2F3F4' : '#FFFFFF';
    },
    color: function color() {
      var disabled = this.disabled,
          checked = this.checked,
          config = this.config;

      var checkedColor = '#EE9900';
      config.checkedColor && (checkedColor = config.checkedColor);
      return checked && !disabled ? checkedColor : '#3D3D3D';
    }
  },
  methods: {
    wxcCellClicked: function wxcCellClicked() {
      var disabled = this.disabled,
          value = this.value;

      if (!disabled) {
        this.$emit('wxcRadioItemChecked', { value: value, disabled: disabled });
      }
    }
  }
};

/***/ }),
/* 215 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
var CHECKED = exports.CHECKED = 'https://gw.alicdn.com/tfs/TB1Y9vlpwMPMeJjy1XcXXXpppXa-72-72.png';
var DISABLED = exports.DISABLED = 'https://gw.alicdn.com/tfs/TB1PtN3pwMPMeJjy1XdXXasrXXa-72-72.png';

/***/ }),
/* 216 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('wxc-cell', {
    attrs: {
      "hasTopBorder": _vm.hasTopBorder,
      "cellStyle": {
        backgroundColor: _vm.backgroundColor
      },
      "accessible": true,
      "ariaLabel": (_vm.title + ",状态为" + (_vm.checked?'已选中':'未选中') + "," + (_vm.disabled?'不可更改':''))
    },
    on: {
      "wxcCellClicked": _vm.wxcCellClicked
    }
  }, [_c('text', {
    staticClass: ["title-text"],
    style: {
      color: _vm.color
    },
    attrs: {
      "slot": "title"
    },
    slot: "title"
  }, [_vm._v(_vm._s(_vm.title))]), (_vm.radioIcon) ? _c('image', {
    staticClass: ["radio"],
    attrs: {
      "slot": "value",
      "src": _vm.radioIcon
    },
    slot: "value"
  }) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 217 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', _vm._l((_vm.updateList), function(item, i) {
    return _c('wxc-radio', _vm._b({
      key: i,
      attrs: {
        "config": _vm.config
      },
      on: {
        "wxcRadioItemChecked": function($event) {
          _vm.wxcRadioItemChecked(i, $event)
        }
      }
    }, 'wxc-radio', item, false))
  }))
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 218 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(219);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 219 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(220)
)

/* script */
__vue_exports__ = __webpack_require__(221)

/* template */
var __vue_template__ = __webpack_require__(222)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-refresher\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-5c48c954"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 220 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-refresher": {
    "height": "140",
    "width": "750",
    "flexDirection": "row",
    "flexWrap": "nowrap",
    "justifyContent": "center",
    "paddingTop": "50"
  },
  "cycle-container": {
    "position": "relative",
    "width": "60",
    "height": "60"
  },
  "u-cover": {
    "position": "absolute",
    "width": "30",
    "height": "60",
    "top": 0,
    "backgroundColor": "#ffffff",
    "overflow": "hidden",
    "right": 0
  },
  "c1": {
    "zIndex": 1
  },
  "c2": {
    "zIndex": 2,
    "transformOrigin": "left center",
    "transform": "rotateZ(0deg)"
  },
  "u-cover-cycle": {
    "position": "absolute",
    "width": "60",
    "height": "60",
    "right": 0,
    "top": 0,
    "boxSizing": "border-box",
    "borderWidth": "2",
    "borderColor": "#666666",
    "borderStyle": "solid",
    "borderRadius": 100,
    "opacity": 0
  },
  "cover1": {
    "opacity": 1
  },
  "indicator": {
    "marginRight": "20",
    "height": "60",
    "width": "60",
    "color": "#666666"
  },
  "arrow-down": {
    "position": "relative",
    "top": "15",
    "left": "-45",
    "width": "30",
    "height": "30"
  },
  "u-txt": {
    "fontSize": "24",
    "lineHeight": "40",
    "color": "#999999",
    "marginTop": "10",
    "marginLeft": "10",
    "height": "40",
    "lines": 1
  }
}

/***/ }),
/* 221 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(7);

var _index2 = _interopRequireDefault(_index);

var _bindEnv = __webpack_require__(6);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');

// 减少打包体积


var ICON_ARROW_DOWN = 'https://img.alicdn.com/tfs/TB1A8faeTtYBeNjy1XdXXXXyVXa-48-48.png';

exports.default = {
  props: {
    scrollerRef: String,
    maxTime: {
      type: Number,
      default: 0
    },
    mainText: {
      type: String,
      default: '下拉即可刷新...'
    },
    pullingText: {
      type: String,
      default: '释放即可刷新...'
    },
    refreshingText: {
      type: String,
      default: '加载中...'
    },
    textWidth: {
      type: Number,
      default: 200
    }
  },
  data: function data() {
    return {
      ICON_ARROW_DOWN: ICON_ARROW_DOWN,
      refreshing: false,
      couldUnLash: false
    };
  },

  computed: {
    newStyleFlag: function newStyleFlag() {
      return this.scrollerRef && _bindEnv2.default.supportsEBForIos();
    },
    refresherText: function refresherText() {
      return this.refreshing ? this.refreshingText : this.pText;
    },
    pText: function pText() {
      return this.couldUnLash ? this.pullingText : this.mainText;
    }
  },
  created: function created() {
    this.newStyleFlag && this.animationBinding();
  },
  beforeDestroy: function beforeDestroy() {
    this.bindingsDestroy();
  },

  methods: {
    onRefresh: function onRefresh(event) {
      var _this = this;

      this.$emit('wxcRefresh', event);
      this.refreshing = true;
      this.newStyleFlag && this.cycleGoRound();
      if (this.maxTime <= 0) return;
      this.timeoutSto && clearTimeout(this.timeoutSto);
      this.timeoutSto = setTimeout(function () {
        _this.$emit('wxcTimeout');
        _this.wxcCancel();
      }, this.maxTime);
    },

    /**
     * 取消 refreshing
     */
    wxcCancel: function wxcCancel() {
      this.refreshing = false;
      this.timeoutSto && clearTimeout(this.timeoutSto);
      this.roundingDestroy();
    },

    /**
     * 下拉事件
     */
    onPullingDown: function onPullingDown(event) {
      this.$emit('wxcPullingDown', event);
      var pd = event.pullingDistance * (_utils2.default.env.isIOS() ? -1 : 1);
      pd > (_utils2.default.env.isAndroid() ? 200 : 140) ? this.couldUnLash = true : this.couldUnLash = false;
      if (this.refreshing && pd < 20) {
        this.timeoutSto && clearTimeout(this.timeoutSto);
        this.refreshing = false;
        this.roundingDestroy();
      }
    },

    /**
     * 注册 bindingx
     */
    animationBinding: function animationBinding() {
      var _this2 = this;

      setTimeout(function () {
        // 降级版本取不到，需要注意
        var scroller = _this2.$parent.$refs[_this2.scrollerRef].ref;
        var cover2 = _this2.$refs['cover2'].ref;
        var coverCycle = _this2.$refs['cover-cycle'].ref;

        var bindingResult = _index2.default.bind({
          eventType: 'scroll',
          anchor: scroller,
          props: [{
            element: cover2,
            property: 'transform.rotateZ',
            expression: 'y>-140?(y%75/150*-360):156'
          }, {
            element: coverCycle,
            property: 'opacity',
            expression: 'y<-75 ?1:0'
          }]
        }, function (e) {});
        _this2.bindingToken = bindingResult.token;
      }, 300);
    },

    /**
     * 旋转动作
     */
    cycleGoRound: function cycleGoRound() {
      if (_utils2.default.env.isAndroid()) return;
      var cycle = this.$refs['cycle'].ref;
      this.arrowShow(false);
      if (!cycle) {
        return;
      }
      var roundingResult = _index2.default.bind({
        eventType: 'timing',
        props: [{
          element: cycle,
          property: 'transform.rotateZ',
          expression: 't*0.72'
        }]
      }, function (e) {});
      this.roundingToken = roundingResult.token;
    },

    /**
     * 箭头显隐控制
     */
    arrowShow: function arrowShow() {
      var _show = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;

      var arrow = this.$refs['arrow'];
      arrow && animation.transition(arrow, {
        styles: {
          opacity: _show ? 1 : 0,
          transform: _show ? "scale(1)" : "scale(0.5)"
        },
        duration: 300,
        delay: 0
      }, function () {});
    },

    /**
     * 完整 bindingx 销毁
     */
    bindingsDestroy: function bindingsDestroy() {
      if (this.bindingToken !== 0) {
        _index2.default && _index2.default.unbind({
          eventType: 'scroll',
          token: this.bindingToken
        });
        this.bindingToken = 0;
      }
      this.roundingDestroy();
    },

    /**
     * 旋转 bindingx 销毁
     */
    roundingDestroy: function roundingDestroy() {
      if (this.roundingToken !== 0) {
        _index2.default && _index2.default.unbind({
          eventType: 'timing',
          token: this.roundingToken
        });
        this.roundingToken = 0;
      }
      this.arrowShow(true);
    }
  }
};

/***/ }),
/* 222 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('refresh', {
    staticClass: ["wxc-refresher"],
    attrs: {
      "display": _vm.refreshing ? 'show' : 'hide'
    },
    on: {
      "refresh": _vm.onRefresh,
      "pullingdown": _vm.onPullingDown
    }
  }, [(_vm.newStyleFlag) ? _c('div', {
    ref: "cycle",
    staticClass: ["cycle-container"]
  }, [_c('div', {
    ref: "cover1",
    staticClass: ["u-cover", "c1"]
  }, [_c('div', {
    staticClass: ["u-cover-cycle", "cover1"]
  })]), _c('div', {
    ref: "cover2",
    staticClass: ["u-cover", "c2"]
  }, [_c('div', {
    ref: "cover-cycle",
    staticClass: ["u-cover-cycle"]
  })])]) : _vm._e(), (_vm.newStyleFlag) ? _c('image', {
    ref: "arrow",
    staticClass: ["arrow-down"],
    attrs: {
      "src": _vm.ICON_ARROW_DOWN,
      "resize": "contain"
    }
  }) : _c('loading-indicator', {
    staticClass: ["indicator"]
  }), _c('text', {
    staticClass: ["u-txt"],
    style: {
      width: (_vm.textWidth + "px")
    }
  }, [_vm._v(_vm._s(_vm.refresherText))])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 223 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(224);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 224 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(225)
)

/* script */
__vue_exports__ = __webpack_require__(226)

/* template */
var __vue_template__ = __webpack_require__(240)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-rich-text\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-51a39eec"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 225 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-rich-text": {
    "alignItems": "center",
    "flexDirection": "row"
  },
  "default-text": {
    "color": "#A5A5A5",
    "fontSize": "24",
    "lineHeight": "30"
  }
}

/***/ }),
/* 226 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  components: {
    WxcRichTextText: __webpack_require__(11),
    WxcRichTextLink: __webpack_require__(230),
    WxcRichTextIcon: __webpack_require__(233),
    WxcRichTextTag: __webpack_require__(24)
  },
  props: {
    configList: {
      type: [Array, String],
      default: function _default() {
        return [];
      }
    },
    hasTextMargin: {
      type: Boolean,
      default: true
    }
  },
  data: function data() {
    return {};
  },
  computed: {
    isNotEmptyArray: function isNotEmptyArray() {
      return _utils2.default.isNonEmptyArray(this.configList);
    },
    isString: function isString() {
      return _utils2.default.isString(this.configList);
    }
  },
  methods: {
    linkClick: function linkClick(e) {
      this.$emit('wxcRichTextLinkClick', e);
    }
  }
}; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/***/ }),
/* 227 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-text": {
    "fontSize": "24",
    "color": "#3d3d3d"
  },
  "black": {
    "color": "#3D3D3D"
  },
  "yellow": {
    "color": "#EE9900"
  },
  "blue": {
    "color": "#30A0FF"
  },
  "gray": {
    "color": "#A5A5A5"
  },
  "red": {
    "color": "#FF5000"
  },
  "margin-text": {
    "marginRight": "6"
  }
}

/***/ }),
/* 228 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    textValue: {
      type: String,
      default: ''
    },
    textTheme: {
      type: String,
      default: 'gray'
    },
    textStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    hasTextMargin: {
      type: Boolean,
      default: true
    }
  },
  computed: {
    themeStyle: function themeStyle() {
      var style = {};
      var textStyle = this.textStyle;
      if (textStyle && textStyle.fontSize) {
        style = _extends({}, style, {
          fontSize: textStyle.fontSize + 'px',
          height: textStyle.fontSize * 1.2 + 'px'
        });
      }
      if (textStyle && textStyle.color) {
        style = _extends({}, style, {
          color: textStyle.color
        });
      }
      return style;
    }
  }
};

/***/ }),
/* 229 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('text', {
    class: ['wxc-text', _vm.textTheme, _vm.hasTextMargin ? 'margin-text' : ''],
    style: _vm.themeStyle
  }, [_vm._v(_vm._s(_vm.textValue))])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 230 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* script */
__vue_exports__ = __webpack_require__(231)

/* template */
var __vue_template__ = __webpack_require__(232)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-rich-text\\wxc-rich-text-link.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 231 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _wxcRichTextText = __webpack_require__(11);

var _wxcRichTextText2 = _interopRequireDefault(_wxcRichTextText);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  components: { WxcRichTextText: _wxcRichTextText2.default },
  props: {
    linkValue: {
      type: [String, Number],
      default: ''
    },
    hasTextMargin: {
      type: Boolean,
      default: true
    },
    linkHref: {
      type: String,
      default: ''
    },
    linkTheme: {
      type: String,
      default: 'black'
    },
    linkStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      defObj: {}
    };
  },
  methods: {
    onLinkClick: function onLinkClick(e) {
      this.$emit('wxcRichTextLinkClick', { element: e, href: this.linkHref });
      _utils2.default.goToH5Page(this.linkHref);
    }
  }
};

/***/ }),
/* 232 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    on: {
      "click": _vm.onLinkClick
    }
  }, [_c('wxc-rich-text-text', {
    attrs: {
      "textValue": _vm.linkValue,
      "hasTextMargin": _vm.hasTextMargin,
      "textStyle": _vm.linkStyle ? _vm.linkStyle : _vm.defObj,
      "textTheme": _vm.linkTheme ? _vm.linkTheme : 'black'
    }
  })], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 233 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(234)
)

/* script */
__vue_exports__ = __webpack_require__(235)

/* template */
var __vue_template__ = __webpack_require__(236)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-rich-text\\wxc-rich-text-icon.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-5d0a782a"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 234 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-image": {
    "width": "90",
    "height": "24",
    "marginRight": "6"
  }
}

/***/ }),
/* 235 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    iconSrc: String,
    iconStyle: {
      type: Object,
      default: function _default() {
        return {
          height: 24
        };
      }
    }
  },
  data: function data() {
    return {
      width: 90
    };
  },
  computed: {
    computedStyle: function computedStyle() {
      var width = this.width,
          iconStyle = this.iconStyle;

      if (iconStyle && iconStyle.width && iconStyle.height) {
        return {
          width: iconStyle.width + "px",
          height: iconStyle.height + "px"
        };
      } else {
        return {
          width: width + "px",
          height: iconStyle.height + "px"
        };
      }
    }
  },
  methods: {
    onLoad: function onLoad(e) {
      if (e.success && e.size && e.size.naturalWidth > 0) {
        var width = e.size.naturalWidth;
        var height = e.size.naturalHeight;
        this.width = width * (this.iconStyle.height / height);
      }
    }
  }
};

/***/ }),
/* 236 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('image', {
    staticClass: ["wxc-image"],
    style: {
      width: _vm.computedStyle.width,
      height: _vm.computedStyle.height
    },
    attrs: {
      "src": _vm.iconSrc,
      "ariaHidden": true
    },
    on: {
      "load": _vm.onLoad
    }
  })
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 237 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-tag": {
    "borderColor": "#3d3d3d",
    "borderWidth": "2",
    "borderRadius": "4",
    "marginRight": "6",
    "backgroundColor": "rgba(0,0,0,0)",
    "paddingLeft": "6",
    "paddingRight": "6",
    "height": "26",
    "justifyContent": "center",
    "alignItems": "center"
  },
  "tag-text": {
    "fontSize": "20",
    "color": "#3d3d3d"
  },
  "black": {
    "color": "#3D3D3D"
  },
  "yellow": {
    "color": "#EE9900"
  },
  "blue": {
    "color": "#30A0FF"
  },
  "gray": {
    "color": "#A5A5A5"
  },
  "red": {
    "color": "#FF5000"
  },
  "border-black": {
    "borderColor": "#A5A5A5"
  },
  "border-yellow": {
    "borderColor": "#EE9900"
  },
  "border-blue": {
    "borderColor": "#30A0FF"
  },
  "border-gray": {
    "borderColor": "#A5A5A5"
  },
  "border-red": {
    "borderColor": "#FF5000"
  }
}

/***/ }),
/* 238 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    tagValue: {
      type: [String, Number],
      default: ''
    },
    tagTheme: {
      type: String,
      default: 'blue'
    },
    tagStyle: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  computed: {
    newTheme: function newTheme() {
      var tagStyle = this.tagStyle;
      var tagValue = this.tagValue;
      var divStyle = {};
      var textStyle = {};
      if (tagStyle && tagStyle.fontSize) {
        textStyle = _extends({}, textStyle, {
          fontSize: tagStyle.fontSize + 'px'
        });
      }
      if (tagStyle && tagStyle.color) {
        textStyle = _extends({}, textStyle, {
          color: tagStyle.color
        });
      }

      if (tagStyle && tagStyle.borderColor) {
        divStyle = _extends({}, divStyle, {
          borderColor: tagStyle.borderColor
        });
      }

      if (tagStyle && tagStyle.borderWidth) {
        divStyle = _extends({}, divStyle, {
          borderWidth: tagStyle.borderWidth + 'px'
        });
      }

      if (tagStyle && tagStyle.borderRadius) {
        divStyle = _extends({}, divStyle, {
          borderRadius: tagStyle.borderRadius + 'px'
        });
      }

      if (tagStyle && tagStyle.backgroundColor) {
        divStyle = _extends({}, divStyle, {
          backgroundColor: tagStyle.backgroundColor
        });
      }

      if (tagStyle && tagStyle.height) {
        divStyle = _extends({}, divStyle, {
          height: tagStyle.height + 'px'
        });
      }

      if (tagStyle && tagStyle.width) {
        divStyle = _extends({}, divStyle, {
          width: tagStyle.width + 'px'
        });
      }

      if (tagValue && tagValue.length === 1) {
        divStyle = _extends({}, divStyle, {
          paddingLeft: 0,
          paddingRight: 0
        });
      }

      return {
        divStyle: divStyle,
        textStyle: textStyle
      };
    }
  }
};

/***/ }),
/* 239 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    class: ['wxc-tag', 'border-' + _vm.tagTheme],
    style: _vm.newTheme.divStyle
  }, [_c('text', {
    class: ['tag-text', _vm.tagTheme],
    style: _vm.newTheme.textStyle
  }, [_vm._v(_vm._s(_vm.tagValue))])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 240 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.isNotEmptyArray) ? _c('div', {
    staticClass: ["wxc-rich-text"]
  }, _vm._l((_vm.configList), function(v) {
    return _c('div', [(v.type == 'text' && v.value) ? _c('wxc-rich-text-text', {
      attrs: {
        "textValue": v.value,
        "textStyle": v.style,
        "hasTextMargin": _vm.hasTextMargin,
        "textTheme": v.theme
      }
    }) : _vm._e(), (v.type == 'link' && v.href && v.value) ? _c('wxc-rich-text-link', {
      attrs: {
        "linkValue": v.value,
        "linkHref": v.href,
        "linkStyle": v.style,
        "hasTextMargin": _vm.hasTextMargin,
        "linkTheme": v.theme
      },
      on: {
        "wxcRichTextLinkClick": _vm.linkClick
      }
    }) : _vm._e(), (v.type == 'icon' && v.src) ? _c('wxc-rich-text-icon', {
      attrs: {
        "iconSrc": v.src,
        "iconStyle": v.style
      }
    }) : _vm._e(), (v.type == 'tag' && v.value) ? _c('wxc-rich-text-tag', {
      attrs: {
        "tagValue": v.value,
        "tagTheme": v.theme,
        "tagStyle": v.style
      }
    }) : _vm._e()], 1)
  })) : _vm._e(), (_vm.isString) ? _c('text', {
    staticClass: ["default-text"]
  }, [_vm._v(_vm._s(_vm.configList))]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 241 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(242);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 242 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(243)
)

/* script */
__vue_exports__ = __webpack_require__(244)

/* template */
var __vue_template__ = __webpack_require__(245)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-simple-flow\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-172fef96"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 243 */
/***/ (function(module, exports) {

module.exports = {
  "flex-row": {
    "flexDirection": "row"
  },
  "full-rest": {
    "flex": 1
  },
  "root": {
    "paddingTop": "28",
    "paddingBottom": "24",
    "backgroundColor": "#ffffff"
  },
  "content": {
    "paddingTop": "9",
    "paddingBottom": "42",
    "paddingLeft": "70",
    "paddingRight": "70"
  },
  "last-one-content": {
    "paddingBottom": 0
  },
  "title": {
    "paddingLeft": "70",
    "paddingRight": "70"
  },
  "line": {
    "position": "absolute",
    "top": 0,
    "bottom": 0,
    "left": "38",
    "width": "2",
    "backgroundColor": "#FFC300"
  },
  "first-one-title-line": {
    "top": "20"
  },
  "last-one-title-line": {
    "bottom": "20"
  },
  "last-one-content-line": {
    "width": 0
  },
  "point": {
    "position": "absolute",
    "top": "13",
    "left": "32",
    "width": "14",
    "height": "14",
    "backgroundColor": "#FFF0BD",
    "borderStyle": "solid",
    "borderWidth": "2",
    "borderColor": "#EE9900",
    "borderRadius": "100"
  },
  "highlight-point": {
    "top": "7",
    "left": "26",
    "width": "26",
    "height": "26",
    "backgroundColor": "#EE9900",
    "borderStyle": "solid",
    "borderWidth": "6",
    "borderColor": "#FFE78D"
  },
  "text-title": {
    "fontSize": "30",
    "color": "#3d3d3d"
  },
  "text-highlight-title": {
    "color": "#EE9900"
  },
  "text-desc": {
    "fontSize": "24",
    "color": "#a5a5a5",
    "marginBottom": "12"
  },
  "text-date": {
    "fontSize": "24",
    "color": "#a5a5a5"
  }
}

/***/ }),
/* 244 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    list: {
      type: Array,
      required: true
    },
    themeColor: {
      type: Object,
      default: function _default() {
        return {};
      }
    }
  },
  computed: {
    cItems: function cItems() {
      return this.adapter(this.list);
    }
  },
  methods: {
    adapter: function adapter(items) {
      var _themeColor = this.themeColor,
          lineColor = _themeColor.lineColor,
          pointInnerColor = _themeColor.pointInnerColor,
          pointBorderColor = _themeColor.pointBorderColor,
          highlightTitleColor = _themeColor.highlightTitleColor,
          highlightPointInnerColor = _themeColor.highlightPointInnerColor,
          highlightPointBorderColor = _themeColor.highlightPointBorderColor;

      var len = items.length;
      var pre = Date.now();

      return items.map(function (item, index) {
        item.key = pre + '_' + index;
        item.__titleLineClass__ = [];
        item.__contentClass__ = [];
        item.__contentLineClass__ = [];
        item.__pointClass__ = [];
        item.__titleTextClass__ = [];
        item.__pointStyle__ = {};
        item.__lineStyle__ = {};
        item.__titleStyle__ = {};

        if (lineColor) item.__lineStyle__.backgroundColor = lineColor;
        if (pointInnerColor) item.__pointStyle__.backgroundColor = pointInnerColor;
        if (pointBorderColor) item.__pointStyle__.borderColor = pointBorderColor;

        if (index === 0) {
          item.__titleLineClass__.push('first-one-title-line');
        }

        if (index === len - 1) {
          item.__titleLineClass__.push('last-one-title-line');
          item.__contentClass__.push('last-one-content');
          item.__contentLineClass__.push('last-one-content-line');
        }

        if (item.highlight) {
          item.__pointClass__.push('highlight-point');
          item.__titleTextClass__.push('text-highlight-title');
          if (highlightTitleColor) item.__titleStyle__.color = highlightTitleColor;
          if (highlightPointInnerColor) item.__pointStyle__.backgroundColor = highlightPointInnerColor;
          if (highlightPointBorderColor) item.__pointStyle__.borderColor = highlightPointBorderColor;
        }
        return item;
      });
    }
  }
};

/***/ }),
/* 245 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["root"]
  }, _vm._l((_vm.cItems), function(item, index) {
    return _c('div', {
      key: item.key,
      attrs: {
        "accessible": true,
        "ariaLabel": ((item.title) + "," + (item.desc?item.desc:'') + "," + (item.date?item.date:'') + "," + (item.highlight?'已完成':'等待完成'))
      }
    }, [_c('div', {
      staticClass: ["title", "flex-row"]
    }, [_c('div', {
      staticClass: ["line"],
      class: item.__titleLineClass__,
      style: item.__lineStyle__
    }), _c('div', {
      staticClass: ["point"],
      class: item.__pointClass__,
      style: item.__pointStyle__
    }), _c('text', {
      staticClass: ["text-title", "full-rest"],
      class: item.__titleTextClass__,
      style: item.__titleStyle__
    }, [_vm._v(_vm._s(item.title))])]), _c('div', {
      staticClass: ["content", "flex-row"],
      class: item.__contentClass__
    }, [_c('div', {
      staticClass: ["line"],
      class: item.__contentLineClass__,
      style: item.__lineStyle__
    }), _c('div', {
      staticClass: ["full-rest"]
    }, [(item.desc) ? _c('text', {
      staticClass: ["text-desc"]
    }, [_vm._v(_vm._s(item.desc))]) : _vm._e(), (item.date) ? _c('text', {
      staticClass: ["text-date"]
    }, [_vm._v(_vm._s(item.date))]) : _vm._e()])])])
  }))
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 246 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(247);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 247 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(248)
)

/* script */
__vue_exports__ = __webpack_require__(249)

/* template */
var __vue_template__ = __webpack_require__(250)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-slide-nav\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-2f2d0cd3"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 248 */
/***/ (function(module, exports) {

module.exports = {
  "slide-nav": {
    "position": "absolute",
    "zIndex": 1000
  }
}

/***/ }),
/* 249 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var DOM = weex.requireModule('dom');
var Animation = weex.requireModule('animation');
var OFFSET_ACCURACY = 10;
var SCALE = weex.config.env.platform.toLowerCase() === 'web' ? 2 : 1;

function _toNum(str) {
  return typeof str === 'number' ? str : parseFloat((str || '').replace(/px$/i, ''));
}

function _getHeight(element, callback) {
  if (!element) {
    return;
  }
  if (element.__cacheHeight) {
    element.__cacheHeight && callback && callback(element.__cacheHeight);
  } else {
    DOM.getComponentRect(element, function (res) {
      var height = (parseFloat(res && res.size && res.size.height) || 0) / SCALE;
      height && callback && callback(element.__cacheHeight = height);
    });
  }
}

exports.default = {

  props: {
    position: {
      'type': String,
      'default': 'top'
    },

    height: [String, Number]
  },

  data: function data() {
    return {
      visible: true
    };
  },


  watch: {
    visible: function visible(newVal) {
      newVal ? this._slideIn() : this._slideOut();
    }
  },

  created: function created() {
    this._height = _toNum(this.height) || 0;
    this._isBottom = this.position === 'bottom';
    this._direction = this._isBottom ? 1 : -1;
  },


  methods: {
    _slideOut: function _slideOut() {
      var _this = this;

      this.getHeight(function (height) {
        _this.$emit('slideOut');
        _this.slideY(height * _this._direction * SCALE, function () {
          _this.$emit('slideOutEnd');
        });
      });
    },
    _slideIn: function _slideIn() {
      var _this2 = this;

      this.getHeight(function (height) {
        _this2.$emit('slideIn');
        _this2.slideY(0, function () {
          _this2.$emit('slideInEnd');
        });
      });
    },
    getHeight: function getHeight(callback) {
      return _getHeight(this.$refs.wrapper, callback);
    },
    slideOut: function slideOut() {
      this.visible = false;
    },
    slideIn: function slideIn() {
      this.visible = true;
    },
    slideY: function slideY(y, callback) {
      Animation.transition(this.$refs.wrapper, {
        styles: { transform: 'translateY(' + y + 'px)' },
        duration: 150, //ms
        timingFunction: 'ease',
        delay: 0 //ms
      }, callback);
    }
  },

  handleTouchStart: function handleTouchStart(e) {
    var touch = e.changedTouches[0];
    this._touchParams = {
      pageY: touch.screenY,
      startY: touch.screenY,
      lastPageY: touch.screenY,
      timeStamp: e.timeStamp,
      direction: -1
    };
  },
  handleTouchMove: function handleTouchMove(e, bottomNav) {
    var tp = this._touchParams;
    var touch = e.changedTouches[0];
    var offsetY = void 0;

    // 安卓下滚动的时候经常不触发touchstart事件
    if (!tp || tp.hasEnd) {
      return this._touchParams = {
        pageY: touch.screenY,
        startY: touch.screenY,
        lastPageY: touch.screenY,
        timeStamp: e.timeStamp,
        direction: -1
      };
    }

    offsetY = touch.screenY - tp.pageY;

    tp.lastPageY = tp.pageY;
    tp.lastDirection = tp.direction;
    tp.direction = offsetY > 0 ? 1 : -1;

    if (tp.lastDirection !== tp.direction) {
      tp.startY = tp.lastPageY;
    }

    tp.pageY = touch.screenY;
    tp.offsetY = tp.pageY - tp.startY;

    if (!this.__scrollable && bottomNav) {
      if (tp.offsetY <= -OFFSET_ACCURACY) {
        bottomNav.slideOut();
      } else if (tp.offsetY >= OFFSET_ACCURACY) {
        bottomNav.slideIn();
      }
    }
  },
  handleTouchEnd: function handleTouchEnd() {
    var tp = this._touchParams;
    tp && (tp.hasEnd = true);
  },
  handleScroll: function handleScroll(e, scroller, topNav, bottomNav, startThreshold) {
    var _this3 = this;

    var moveThreshold = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 5;

    var scrollY = e.contentOffset.y;
    var nav = topNav || bottomNav;
    var scrollFn = function scrollFn(maxScrollY) {
      if (-scrollY > maxScrollY) {
        return;
      }
      maxScrollY = Math.abs(maxScrollY);
      if (Math.abs(scrollY) < startThreshold) {
        if (Math.abs(scrollY) >= maxScrollY - OFFSET_ACCURACY) {
          var tp = _this3._touchParams;
          if (!tp) {
            return;
          }
          var offsetY = tp.offsetY;
          if (offsetY < -OFFSET_ACCURACY) {
            bottomNav && bottomNav.slideOut();
          } else if (offsetY > OFFSET_ACCURACY) {
            bottomNav && bottomNav.slideIn();
          }
        } else {
          topNav && topNav.slideIn();
          bottomNav && bottomNav.slideIn();
        }
      } else {
        var _tp = _this3._touchParams;
        if (!_tp) {
          return;
        }
        var _offsetY = _tp.offsetY;
        if (Math.abs(_offsetY) >= moveThreshold) {
          if (_offsetY > 0) {
            topNav && topNav.slideIn();
            bottomNav && bottomNav.slideIn();
          } else {
            topNav && topNav.slideOut();
            bottomNav && bottomNav.slideOut();
          }
        }
      }
    };

    var maxScrollYCheck = function maxScrollYCheck(maxScrollY) {
      if (!_this3.__scrollable) {
        return;
      }
      if (startThreshold) {
        scrollFn(maxScrollY);
      } else {
        nav.getHeight(function (navHeight) {
          startThreshold = navHeight;
          scrollFn(maxScrollY);
        });
      }
    };

    if (!nav) {
      return;
    }

    _getHeight(scroller, function (scrollerHeight) {
      var maxScrollY = e.contentSize.height - scrollerHeight;
      _this3.__scrollable = maxScrollY >= OFFSET_ACCURACY;

      if (bottomNav) {
        bottomNav.getHeight(function (height) {
          _this3.__scrollable = maxScrollY >= height;
          maxScrollYCheck(maxScrollY);
        });
      } else {
        maxScrollYCheck(maxScrollY);
      }
    });
  }
};

/***/ }),
/* 250 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    ref: "wrapper",
    staticClass: ["slide-nav"]
  }, [_vm._t("default")], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 251 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(252);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 252 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(253)
)

/* script */
__vue_exports__ = __webpack_require__(254)

/* template */
var __vue_template__ = __webpack_require__(255)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-slider-bar\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1e3a70b7"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 253 */
/***/ (function(module, exports) {

module.exports = {
  "slider-bar-container": {
    "height": "56",
    "justifyContent": "center",
    "alignItems": "center",
    "overflow": "hidden"
  },
  "range-bar": {
    "overflow": "hidden"
  },
  "value-bar": {
    "height": "4",
    "overflow": "hidden"
  },
  "slide-block": {
    "width": "56",
    "height": "56",
    "backgroundColor": "#ffffff",
    "borderRadius": "28",
    "borderWidth": "1",
    "borderColor": "rgba(0,0,0,0.1)",
    "position": "absolute",
    "left": 0,
    "bottom": 0
  }
}

/***/ }),
/* 254 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _bindEnv = __webpack_require__(6);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

var _indexWeex = __webpack_require__(7);

var _indexWeex2 = _interopRequireDefault(_indexWeex);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var animation = weex.requireModule('animation'); //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var dom = weex.requireModule('dom');

exports.default = {
  data: function data() {
    return {
      env: 'weex',
      diffX1: 0,
      diffX2: 0,
      barWidth: 0,
      preventMoveEvent: true,
      minDist: 0,
      selectRange: [0, 0],
      blockRadius: 28,
      DPR: 1,
      timeout: 100,
      isAndroid: _utils2.default.env.isAndroid()
    };
  },
  props: {
    length: {
      type: Number,
      default: 500
    },
    height: {
      type: Number,
      default: 4
    },
    // 是否双滑块模式
    range: {
      type: Boolean,
      default: false
    },
    // 最小值
    min: {
      type: Number,
      default: 0
    },
    // 最大值
    max: {
      type: Number,
      default: 100
    },
    // 最小取值范围，用于范围选择范围最小差值
    minDiff: {
      type: Number,
      default: 5
    },
    // 设置当前取值。当 range 为 false 时，使用 number，否则用 [number, number]
    value: {
      type: [Number, Array],
      default: 0
    },
    // 设置初始取值。当 range 为 false 时，使用 number，否则用 [number, number]
    defaultValue: {
      type: [Number, Array],
      default: 0
    },
    // 值为 true 时，滑块为禁用状态
    disabled: {
      type: Boolean,
      default: false
    },
    invalidColor: {
      type: String,
      default: '#E0E0E0'
    },
    validColor: {
      type: String,
      default: '#EE9900'
    },
    disabledColor: {
      type: String,
      default: '#AAA'
    }
  },
  watch: {
    value: function value(e) {
      if (!this.range) {
        this.diffX1 = this._getDiffX(e || this.defaultValue);
      } else {
        this.diffX1 = this._getDiffX(e[0] || this.defaultValue[0]);
        this.diffX2 = this._getDiffX(e[1] || this.defaultValue[1]);
        this.barWidth = this.diffX2 - this.diffX1;
      }
    }
  },
  created: function created() {
    if (_utils2.default.env.isWeb()) {
      this.env = 'web';
      this.DPR = window.devicePixelRatio ? window.devicePixelRatio : 1;
    } else {
      this.DPR = weex.config.env.scale;
    }
  },
  mounted: function mounted() {
    var _this = this;

    this.block1 = this.$refs['slide-block-1']; // 左侧滑块
    this.block2 = this.$refs['slide-block-2']; // 右侧滑块
    this.valueBar = this.$refs['value-bar']; // 黄色值条
    this.barContainer = this.$refs['bar-container']; // 滚动条容器

    if (!this.range) {
      this.diffX1 = this._getDiffX(this.value || this.defaultValue);
    } else {
      this.diffX1 = this._getDiffX(this.value[0] || this.defaultValue[0]);
      this.diffX2 = this._getDiffX(this.value[1] || this.defaultValue[1]);
      this.barWidth = this.diffX2 - this.diffX1;
    }

    // 是否支持expresstionBinding
    if (_bindEnv2.default.supportsEB() && _indexWeex2.default.prepare) {
      this.block1 && _indexWeex2.default.prepare({
        anchor: this.block1.ref,
        eventType: 'pan'
      });
      this.block2 && _indexWeex2.default.prepare({
        anchor: this.block2.ref,
        eventType: 'pan'
      });
      this.valueBar && _indexWeex2.default.prepare({
        anchor: this.valueBar.ref,
        eventType: 'pan'
      });
    }

    if (this.range) {
      this.selectRange = this.value || this.defaultValue; // 初始化范围选择返回数据
      this.minDist = this.minDiff / (this.max - this.min) * this.length; // 滑块1、2之前最小间距
    }

    // 由于weex在mounted后渲染是异步的不能确保元素渲染完成，需要异步执行
    setTimeout(function () {
      dom.getComponentRect(_this.barContainer, function (option) {
        var left = option.size.left;

        _this.leftDiffX = left;
      });
    }, 100);
  },


  computed: {
    containerStyle: function containerStyle() {
      return {
        width: this.length + 56 + 'px',
        height: '56px'
      };
    },
    rangeBarStyle: function rangeBarStyle() {
      return {
        width: this.length + 'px',
        height: this.height + 'px',
        flexDirection: 'row',
        backgroundColor: this.invalidColor
      };
    },
    valueBarStyle: function valueBarStyle() {
      var left = 0;
      var width = 0;

      if (!this.range) {
        left = this.diffX1 - this.length;
        width = this.length;
      } else {
        left = this.diffX1;
        width = this.diffX2 - this.diffX1;
      }

      return {
        width: width + 'px',
        height: this.height + 'px',
        transform: 'translateX(' + left + 'px)',
        backgroundColor: this.disabled ? this.disabledColor : this.validColor
      };
    },
    blockStyle1: function blockStyle1() {
      var left = this.diffX1;
      return {
        transform: 'translateX(' + left + 'px)'
      };
    },
    blockStyle2: function blockStyle2() {
      return {
        transform: 'translateX(' + this.diffX2 + 'px)'
      };
    }
  },
  methods: {

    // 更新单选值或最小值
    weexHandler1: function weexHandler1(e) {
      var _this2 = this;

      var self = this;
      switch (e.state) {
        case 'start':
          self.bindBlock1();
          break;
        case 'move':
          dom.getComponentRect(this.block1, function (option) {
            var left = option.size.left;

            var value = _this2._getValue(left - _this2.leftDiffX);
            if (!_this2.range) {
              _this2.$emit('updateValue', value);
            } else {
              _this2.selectRange[0] = value;
              _this2.$emit('updateValue', _this2.selectRange);
            }
          });
          break;
        case 'end':
          break;
        default:
          break;
      }
    },


    // 更新最大值
    weexHandler2: function weexHandler2(e) {
      var _this3 = this;

      var self = this;

      switch (e.state) {
        case 'start':
          self.bindBlock2();
          break;
        case 'move':
          dom.getComponentRect(this.block2, function (option) {
            var left = option.size.left;

            _this3.selectRange[1] = _this3._getValue(left - _this3.leftDiffX);
            _this3.$emit('updateValue', _this3.selectRange);
          });
          break;
        case 'end':
          break;
        default:
          break;
      }
    },
    weexStartHandler1: function weexStartHandler1() {
      var _this4 = this;

      // 由于android端不支持 horizontalpan 的move事件，使用setInterval hack方案
      if (!this.isAndroid) {
        return;
      }
      this.firstInterval = setInterval(function () {
        dom.getComponentRect(_this4.block1, function (option) {
          var left = option.size.left;

          var value = _this4._getValue(left - _this4.leftDiffX);
          if (!_this4.range) {
            _this4.$emit('updateValue', value);
          } else {
            _this4.selectRange[0] = value;
            _this4.$emit('updateValue', _this4.selectRange);
          }
        });
      }, this.timeout);
    },
    weexStartHandler2: function weexStartHandler2() {
      var _this5 = this;

      if (!this.isAndroid) {
        return;
      }
      // 由于android端不支持 horizontalpan 的move事件，使用setInterval hack方案
      this.secondInterval = setInterval(function () {
        dom.getComponentRect(_this5.block2, function (option) {
          var left = option.size.left;

          _this5.selectRange[1] = _this5._getValue(left - _this5.leftDiffX);
          _this5.$emit('updateValue', _this5.selectRange);
        });
      }, this.timeout);
    },


    // 清除定时器
    weexEndHandler: function weexEndHandler() {
      if (!this.isAndroid) {
        return;
      }
      this.firstInterval && clearInterval(this.firstInterval);
      this.secondInterval && clearInterval(this.secondInterval);
    },
    webStartHandler: function webStartHandler(e) {
      if (this.env === 'weex') {
        return;
      }
      this.startX = e.touch.clientX;
      this.startDiffX1 = this.diffX1;
      this.startDiffX2 = this.diffX2;
    },
    webMoveHandler1: function webMoveHandler1(e) {
      if (this.env === 'weex' || this.disabled) {
        return;
      }

      var deltaX = (e.touch.clientX - this.startX) * this.DPR;
      var diff = this.startDiffX1 + deltaX;

      var max = this.length;
      if (this.range) {
        max = this.diffX2 - this.minDist;
      }

      if (diff > 0 && diff < max) {
        this.diffX1 = diff;
        animation.transition(this.block1, {
          styles: {
            transform: 'translateX(' + this.diffX1 + 'px)'
          }
        }, function () {});
        if (!this.range) {
          this.$emit('updateValue', this._getValue(this.diffX1));
        } else {
          this.selectRange[0] = this._getValue(this.diffX1);
          this.$emit('updateValue', this.selectRange);
        }
      }
    },
    webMoveHandler2: function webMoveHandler2(e) {
      if (this.env === 'weex' || this.disabled) {
        return;
      }

      var deltaX = (e.touch.clientX - this.startX) * this.DPR;
      var diff = this.startDiffX2 + deltaX;
      var min = this.diffX1 + this.minDist;
      var max = this.length;

      if (diff > min && diff < max) {
        this.diffX2 = diff;
        animation.transition(this.block2, {
          styles: {
            transform: 'translateX(' + this.diffX2 + 'px)'
          }
        }, function () {});
        if (!this.range) {
          this.$emit('updateValue', this._getValue(this.diffX2));
        } else {
          this.selectRange[1] = this._getValue(this.diffX2);
          this.$emit('updateValue', this.selectRange);
        }
      }
    },
    bindBlock1: function bindBlock1() {
      var self = this;

      // 如果禁用，不行进行表达式绑定
      if (self.disabled) {
        _indexWeex2.default.unbind({
          token: this.gesToken1,
          eventType: 'pan'
        });
        this.gesToken1 = 0;
        return;
      }

      // 初始化按钮&条的大小范围
      var blockMax1 = 0;
      if (self.range) {
        blockMax1 = self.diffX2 - self.minDist;
      } else {
        blockMax1 = self.length;
      }

      var barMax1 = self.diffX2;

      if (!self.range) {

        var startLeft = self.diffX1 - blockMax1 - self.minDist;

        var props = [{
          element: self.block1.ref,
          property: 'transform.translateX',
          expression: 'min(' + blockMax1 + ', max(x + ' + self.diffX1 + ', 0))'
        }, {
          element: self.valueBar.ref,
          property: 'transform.translateX',
          expression: 'min(0, max(x + ' + startLeft + ', -' + blockMax1 + '))'
        }];

        var gesTokenObj = _indexWeex2.default.bind({
          anchor: self.block1.ref,
          eventType: 'pan',
          props: props
        }, function (e) {
          if (e.state === 'end' || e.state === 'cancel' || e.state === 'exit') {
            var range = self.getRange();
            // 限制diffX1范围
            self.diffX1 = self._restrictValue(range.rangeX1, self.diffX1 + e.deltaX);
            self.bindBlock1();
          }
        });
        this.gesToken1 = gesTokenObj.token;
      } else {

        // 选范围
        var _props = [{
          element: self.block1.ref,
          property: 'transform.translateX',
          expression: 'min(' + blockMax1 + ', max(x + ' + self.diffX1 + ', 0))'
        }, {
          element: self.valueBar.ref,
          property: 'transform.translateX',
          expression: 'min(' + blockMax1 + ', max(x + ' + self.diffX1 + ', 0))'
        }, {
          element: self.valueBar.ref,
          property: 'width',
          expression: 'min(' + barMax1 + ', max(0, ' + self.barWidth + ' - x))'
        }];

        var _gesTokenObj = _indexWeex2.default.bind({
          anchor: self.block1.ref,
          eventType: 'pan',
          props: _props
        }, function (e) {
          if (e.state === 'end' || e.state === 'cancel' || e.state === 'exit') {
            var range = self.getRange();
            self.barWidth = self._restrictValue(range.rangeX1, self.barWidth - e.deltaX);
            self.diffX1 = self._restrictValue(range.rangeX1, self.diffX1 + e.deltaX);
            self.bindBlock1();
          }
        });
        this.gesToken1 = _gesTokenObj.token;
      }
    },
    bindBlock2: function bindBlock2() {
      var self = this;

      // 如果禁用，不行进行表达式绑定
      if (self.disabled) {
        _indexWeex2.default.unbind({
          token: this.gesToken2,
          eventType: 'pan'
        });
        this.gesToken2 = 0;
        return;
      }

      // 初始化按钮&条的大小范围
      var blockMax1 = 0;
      if (self.range) {
        blockMax1 = self.diffX2 - self.minDist;
      } else {
        blockMax1 = self.length;
      }

      var blockMax2 = self.length;
      var blockMin2 = self.diffX1 + self.minDist;
      var barMax2 = self.length - self.diffX1;

      var props = [{
        element: self.block2.ref,
        property: 'transform.translateX',
        expression: 'min(' + blockMax2 + ', max(x + ' + self.diffX2 + ', ' + blockMin2 + '))'
      }, {
        element: self.valueBar.ref,
        property: 'width',
        expression: 'min(' + barMax2 + ', max(0, x + ' + self.barWidth + '))'
      }];

      var gesTokenObj = _indexWeex2.default.bind({
        anchor: self.block2.ref,
        eventType: 'pan',
        props: props
      }, function (e) {
        if (e.state === 'end' || e.state === 'cancel' || e.state === 'exit') {
          var range = self.getRange();
          self.barWidth = self._restrictValue([0, self.length - self.diffX1], self.barWidth + e.deltaX);
          self.diffX2 = self._restrictValue(range.rangeX2, self.diffX2 + e.deltaX);
          self.bindBlock2();
        }
      });
      this.gesToken2 = gesTokenObj.token;
    },


    // 获取diffx1 diffx2 取值范围
    getRange: function getRange() {
      if (!this.range) {
        return {
          rangeX1: [0, this.length]
        };
      } else {
        return {
          rangeX1: [0, this.diffX2 - this.minDist],
          rangeX2: [this.diffX1 + this.minDist, this.length]
        };
      }
    },


    // 限制取值范围
    _restrictValue: function _restrictValue(range, value) {
      if (range && range.length && range.length === 2) {
        if (value < range[0]) {
          return range[0];
        } else if (value > range[1]) {
          return range[1];
        } else {
          return value;
        }
      }
      return;
    },


    // 根据x方向偏移量计算value
    _getValue: function _getValue(diffX) {
      return Math.round(diffX / this.length * (this.max - this.min) + this.min);
    },


    // 根据value和length计算x方向偏移值
    _getDiffX: function _getDiffX(value) {
      return (value - this.min) / (this.max - this.min) * this.length;
    }
  }
};

/***/ }),
/* 255 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    ref: "bar-container",
    staticClass: ["slider-bar-container"],
    style: _vm.containerStyle
  }, [_c('div', {
    staticClass: ["range-bar"],
    style: _vm.rangeBarStyle
  }, [_c('div', {
    ref: "value-bar",
    staticClass: ["value-bar"],
    style: _vm.valueBarStyle
  }, [_c('div')])]), _c('div', {
    ref: "slide-block-1",
    staticClass: ["slide-block"],
    style: _vm.blockStyle1,
    attrs: {
      "preventMoveEvent": _vm.preventMoveEvent
    },
    on: {
      "panstart": _vm.webStartHandler,
      "panmove": _vm.webMoveHandler1,
      "touchstart": _vm.weexStartHandler1,
      "touchend": _vm.weexEndHandler,
      "horizontalpan": _vm.weexHandler1
    }
  }, [_c('div')]), (_vm.range) ? _c('div', {
    ref: "slide-block-2",
    staticClass: ["slide-block"],
    style: _vm.blockStyle2,
    attrs: {
      "preventMoveEvent": _vm.preventMoveEvent
    },
    on: {
      "panstart": _vm.webStartHandler,
      "panmove": _vm.webMoveHandler2,
      "touchstart": _vm.weexStartHandler2,
      "touchend": _vm.weexEndHandler,
      "horizontalpan": _vm.weexHandler2
    }
  }, [_c('div')]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 256 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(257);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 257 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(258)
)

/* script */
__vue_exports__ = __webpack_require__(259)

/* template */
var __vue_template__ = __webpack_require__(260)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-special-rich-text\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-7a14a914"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 258 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-special-rich-text": {
    "position": "relative"
  },
  "tag-div": {
    "position": "absolute",
    "top": 0,
    "color": "#A5A5A5",
    "fontSize": "24",
    "lineHeight": "30"
  },
  "wxc-text": {
    "fontSize": "24",
    "lineHeight": "34",
    "color": "#3d3d3d",
    "lines": 2,
    "textOverflow": "ellipsis",
    "overflow": "hidden"
  },
  "black": {
    "color": "#3D3D3D"
  },
  "yellow": {
    "color": "#EE9900"
  },
  "blue": {
    "color": "#30A0FF"
  },
  "gray": {
    "color": "#A5A5A5"
  },
  "red": {
    "color": "#FF5000"
  },
  "margin-text": {
    "marginRight": "6"
  }
}

/***/ }),
/* 259 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _wxcRichTextText = __webpack_require__(11);

var _wxcRichTextText2 = _interopRequireDefault(_wxcRichTextText);

var _wxcRichTextTag = __webpack_require__(24);

var _wxcRichTextTag2 = _interopRequireDefault(_wxcRichTextTag);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _weex$config$env = weex.config.env,
    appName = _weex$config$env.appName,
    osName = _weex$config$env.osName,
    deviceWidth = _weex$config$env.deviceWidth;

var needHack = (_utils2.default.env.isAlipay() || appName === 'UC' || appName === 'TUnionSDK') && osName !== 'iOS' || _utils2.default.env.isAndroid();
var isPad = osName === 'iOS' && deviceWidth > 1300;

exports.default = {
  components: {
    WxcRichTextText: _wxcRichTextText2.default,
    WxcRichTextTag: _wxcRichTextTag2.default
  },
  props: {
    configList: {
      type: [Array, String],
      default: function _default() {
        return {};
      }
    }
  },
  data: function data() {
    return {
      iconWidth: 90,
      iconHeight: 24,
      needHack: needHack
    };
  },
  computed: {
    newList: function newList() {
      var configList = this.configList,
          iconHeight = this.iconHeight,
          iconWidth = this.iconWidth,
          needHack = this.needHack;

      if (_utils2.default.isNonEmptyArray(configList) && configList.length === 2) {
        var r1 = configList[0];
        var r2 = configList[1];
        var iconStyle = r1.style;
        var textStyle = r2.style;
        var style = {};
        var fontSize = 24;
        var tagWidth = iconStyle && iconStyle.width ? iconStyle.width : 24;

        if (textStyle && textStyle.fontSize && !isNaN(textStyle.fontSize)) {
          fontSize = textStyle.fontSize;
          style = {
            fontSize: textStyle.fontSize + 'px',
            lineHeight: Number(textStyle.fontSize * 1.4).toFixed(2) + 'px'
          };
        }

        if (textStyle && textStyle.color) {
          style = _extends({}, style, {
            color: textStyle.color
          });
        }

        if (textStyle && textStyle.lines) {
          style = _extends({}, style, {
            lines: textStyle.lines
          });
        }

        if (r1.type === 'icon' && iconStyle && iconStyle.height && !iconStyle.width) {
          tagWidth = parseInt(iconWidth * (iconStyle.height / iconHeight));
          r1 = _extends({}, r1, {
            style: {
              width: tagWidth + 'px',
              height: iconStyle.height + 'px'
            }
          });
        }

        if (r1.type === 'icon' && !(iconStyle && iconStyle.height)) {
          r1 = _extends({}, r1, {
            style: {
              width: iconWidth + 'px',
              height: iconHeight + 'px'
            }
          });
        }

        if (r1.type === 'tag' && iconStyle && iconStyle.width) {
          r1 = _extends({}, r1, {
            style: _extends({}, iconStyle, { width: null })
          });
        }

        var blank = '';
        var num = Math.ceil(tagWidth / fontSize) + 1;

        if (r1.type === 'tag' && r1.value) {
          num = this.countString(r1.value);
        }

        var tagMoreBlank = (!isPad && num < 7 ? '  ' : '') + (needHack ? '  ' : '') + (isPad && num < 3 ? '    ' : '');
        var iconMoreBlank = num > 2 ? needHack ? '     ' : '   ' : ' ';
        if (r1.type === 'tag') {
          blank = new Array(num).join('  ') + tagMoreBlank;
        } else if (r1.type === 'icon') {
          blank = new Array(num).join('  ') + iconMoreBlank;
        }
        blank += isPad && num > 2 ? '     ' : '';
        var newValue = r2.value ? blank + (' ' + r2.value) : '';

        r2 = _extends({}, r2, {
          style: style,
          value: newValue
        });

        return [r1, r2];
      } else {
        return configList;
      }
    },
    top: function top() {
      var configList = this.configList,
          needHack = this.needHack;

      if (_utils2.default.isNonEmptyArray(configList) && configList.length === 2) {
        var iconStyle = configList[0].style;
        var textStyle = configList[1].style;
        var fontSize = 24;
        var tagHeight = iconStyle && iconStyle.height ? iconStyle.height : 26;
        if (textStyle && textStyle.fontSize) {
          fontSize = textStyle.fontSize;
        }
        var d = needHack ? 1.1 : 1.4;
        return Math.ceil((fontSize * d - tagHeight) / 2);
      } else {
        return 0;
      }
    }
  },
  methods: {
    onLoad: function onLoad(e) {
      if (e.success && e.size && e.size.naturalWidth > 0) {
        var _e$size = e.size,
            naturalWidth = _e$size.naturalWidth,
            naturalHeight = _e$size.naturalHeight;

        this.iconWidth = naturalWidth;
        this.iconHeight = naturalHeight;
      } else {
        var configList = this.configList;

        if (_utils2.default.isNonEmptyArray(configList) && configList.length === 2) {
          var style = configList[0].style;

          if (style && style.height && style.width) {
            this.iconWidth = style.width;
            this.iconHeight = style.height;
          }
        }
      }
    },
    countString: function countString(str) {
      var chineseRegex = /[^ -~]/g;
      return str.replace(chineseRegex, '**').length;
    }
  }
};

/***/ }),
/* 260 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-special-rich-text"]
  }, [_c('div', {
    staticClass: ["tag-div"],
    style: {
      top: _vm.top + 'px'
    }
  }, [(_vm.newList[0] && _vm.newList[0].type === 'icon' && _vm.newList[0].src) ? _c('image', {
    staticClass: ["wxc-image"],
    style: _vm.newList[0].style,
    attrs: {
      "src": _vm.newList[0].src,
      "quality": "original",
      "original": true,
      "ariaHidden": true
    },
    on: {
      "load": _vm.onLoad
    }
  }) : _vm._e(), (_vm.newList[0] && _vm.newList[0].type === 'tag' && _vm.newList[0].value) ? _c('wxc-rich-text-tag', {
    attrs: {
      "tagValue": _vm.newList[0].value,
      "tagTheme": _vm.newList[0].theme,
      "tagStyle": _vm.newList[0].style
    }
  }) : _vm._e()], 1), (_vm.newList[0] && _vm.newList[0].type === 'text' && _vm.newList[0].value) ? _c('text', {
    class: ['wxc-text', _vm.newList[0].theme],
    style: _vm.newList[0].style
  }, [_vm._v(_vm._s(_vm.newList[0].value))]) : _vm._e(), (_vm.newList[1] && _vm.newList[1].value) ? _c('text', {
    class: ['wxc-text', _vm.newList[1].theme],
    style: _vm.newList[1].style
  }, [_vm._v(_vm._s(_vm.newList[1].value))]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 261 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(262);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 262 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(263)
)

/* script */
__vue_exports__ = __webpack_require__(264)

/* template */
var __vue_template__ = __webpack_require__(265)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-stepper\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-53770b9d"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 263 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-stepper": {
    "flexDirection": "row"
  },
  "stepper-plus": {
    "width": "56",
    "height": "56",
    "backgroundColor": "#ededed",
    "alignItems": "center",
    "justifyContent": "center",
    "borderRadius": "6"
  },
  "stepper-minus": {
    "width": "56",
    "height": "56",
    "backgroundColor": "#ededed",
    "alignItems": "center",
    "justifyContent": "center",
    "borderRadius": "6"
  },
  "stepper-input": {
    "borderWidth": 0,
    "textAlign": "center",
    "color": "#3d3d3d",
    "fontSize": "30",
    "lineHeight": "56",
    "width": "86"
  },
  "stepper-icon": {
    "fontSize": "36",
    "color": "#666666",
    "marginTop": "-4"
  }
}

/***/ }),
/* 264 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    min: {
      type: [String, Number],
      default: 1
    },
    max: {
      type: [String, Number],
      default: 100
    },
    step: {
      type: [String, Number],
      default: 1
    },
    disabled: {
      type: Boolean,
      default: false
    },
    defaultValue: {
      type: [String, Number],
      default: 1
    },
    readOnly: {
      type: Boolean,
      default: false
    }
  },
  computed: {
    disableStyle: function disableStyle() {
      if (this.disabled) {
        return {
          color: '#cccccc'
        };
      }
    },
    valueString: function valueString() {
      return this.value.toString();
    }
  },
  data: function data() {
    return {
      value: 1,
      isLess: false,
      isOver: false
    };
  },
  watch: {
    defaultValue: function defaultValue(newNum) {
      this.value = newNum;
    }
  },
  created: function created() {
    this.value = parseInt(this.defaultValue, 10);
    if (this.disabled) {
      this.isLess = true;
      this.isOver = true;
    }
  },

  methods: {
    minusClicked: function minusClicked() {
      if (this.disabled) {
        return;
      }
      var isMinOver = this.value <= this.min;
      var nowNum = this.value - parseInt(this.step, 10);
      if (isMinOver) {
        this.$emit('wxcStepperValueIsMinOver', { value: this.value });
      } else {
        this.value = nowNum;
        this.resetDisabledStyle();
      }
      // 由于此处已经减step
      if (nowNum <= this.min) {
        this.value = parseInt(this.min, 10);
        this.isLess = true;
      }
      this.$emit('wxcStepperValueChanged', { value: this.value });
    },
    plusClicked: function plusClicked() {
      if (this.disabled) {
        return;
      }
      var isMaxOver = this.value >= this.max;
      var nowNum = this.value + parseInt(this.step, 10);
      if (isMaxOver) {
        this.$emit('wxcStepperValueIsMaxOver', { value: this.value });
      } else {
        this.value = nowNum;
        this.resetDisabledStyle();
      }
      // 由于此处已经加step
      if (nowNum >= this.max) {
        this.value = parseInt(this.max, 10);
        this.isOver = true;
      }
      this.$emit('wxcStepperValueChanged', { value: this.value });
    },
    onInput: function onInput(e) {
      this.correctInputValue(e.value);
    },
    onBlur: function onBlur(e) {
      this.correctInputValue(e.value);
    },
    correctInputValue: function correctInputValue(v) {
      if (/^[1-9]\d{0,}$/.test(v) && parseInt(v, 10) >= this.min && parseInt(v, 10) <= this.max) {
        this.value = parseInt(v, 10);
      }
      this.$emit('wxcStepperValueChanged', { value: this.value });
    },
    resetDisabledStyle: function resetDisabledStyle() {
      this.isLess = false;
      this.isOver = false;
    }
  }
};

/***/ }),
/* 265 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-stepper"]
  }, [_c('div', {
    staticClass: ["stepper-minus"],
    attrs: {
      "ariaLabel": "减数",
      "accessible": true
    },
    on: {
      "click": _vm.minusClicked
    }
  }, [_c('text', {
    staticClass: ["stepper-icon"],
    style: {
      color: _vm.isLess ? '#cccccc' : '#666666'
    }
  }, [_vm._v("-")])]), _c('input', {
    staticClass: ["stepper-input"],
    style: _vm.disableStyle,
    attrs: {
      "type": "number",
      "value": _vm.valueString,
      "disabled": _vm.disabled || _vm.readOnly
    },
    on: {
      "input": _vm.onInput,
      "blur": _vm.onBlur
    }
  }), _c('div', {
    staticClass: ["stepper-plus"],
    attrs: {
      "ariaLabel": "加数",
      "accessible": true
    },
    on: {
      "click": _vm.plusClicked
    }
  }, [_c('text', {
    staticClass: ["stepper-icon"],
    style: {
      color: _vm.isOver ? '#cccccc' : '#666666'
    }
  }, [_vm._v("+")])])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 266 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(267);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 267 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(268)
)

/* script */
__vue_exports__ = __webpack_require__(269)

/* template */
var __vue_template__ = __webpack_require__(270)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-tab-bar\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-dc8303b2"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 268 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-tab-page": {
    "position": "absolute",
    "top": 0,
    "left": 0,
    "right": 0,
    "bottom": 0
  },
  "tab-title-list": {
    "flexDirection": "row",
    "justifyContent": "space-around"
  },
  "title-item": {
    "justifyContent": "center",
    "alignItems": "center",
    "borderBottomStyle": "solid"
  },
  "tab-page-wrap": {
    "width": "750",
    "flex": 1,
    "overflow": "hidden"
  },
  "tab-container": {
    "flex": 1,
    "flexDirection": "row",
    "position": "absolute"
  },
  "tab-text": {
    "lines": 1,
    "textOverflow": "ellipsis"
  },
  "desc-tag": {
    "position": "absolute",
    "top": "10",
    "right": "20",
    "borderBottomRightRadius": "14",
    "borderBottomLeftRadius": 0,
    "borderTopLeftRadius": "14",
    "borderTopRightRadius": "14",
    "backgroundColor": "#FF5E00",
    "height": "26",
    "alignItems": "center",
    "justifyContent": "center",
    "paddingLeft": "6",
    "paddingRight": "6"
  },
  "dot": {
    "width": "12",
    "height": "12",
    "borderBottomRightRadius": "12",
    "borderBottomLeftRadius": "12",
    "borderTopLeftRadius": "12",
    "borderTopRightRadius": "12",
    "position": "absolute",
    "top": "10",
    "right": "40",
    "backgroundColor": "#FF5E00"
  },
  "desc-text": {
    "fontSize": "18",
    "color": "#ffffff"
  }
}

/***/ }),
/* 269 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var dom = weex.requireModule('dom');
var animation = weex.requireModule('animation');
exports.default = {
  props: {
    tabTitles: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    tabStyles: {
      type: Object,
      default: function _default() {
        return {
          bgColor: '#FFFFFF',
          titleColor: '#666666',
          activeTitleColor: '#3D3D3D',
          activeBgColor: '#FFFFFF',
          isActiveTitleBold: true,
          iconWidth: 70,
          iconHeight: 70,
          width: 160,
          height: 120,
          fontSize: 24,
          activeBottomColor: '#FFC900',
          activeBottomWidth: 120,
          activeBottomHeight: 6,
          textPaddingLeft: 10,
          textPaddingRight: 10
        };
      }
    },
    titleType: {
      type: String,
      default: 'icon'
    },
    titleUseSlot: {
      type: Boolean,
      default: false
    },
    isTabView: {
      type: Boolean,
      default: true
    },
    duration: {
      type: [Number, String],
      default: 300
    },
    timingFunction: {
      type: String,
      default: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)'
    },
    wrapBgColor: {
      type: String,
      default: '#f2f3f4'
    }
  },
  data: function data() {
    return {
      currentPage: 0,
      translateX: 0
    };
  },
  created: function created() {
    var titleType = this.titleType,
        tabStyles = this.tabStyles;

    if (titleType === 'iconFont' && tabStyles.iconFontUrl) {
      dom.addRule('fontFace', {
        'fontFamily': "wxcIconFont",
        'src': 'url(\'' + tabStyles.iconFontUrl + '\')'
      });
    }
    this.isIPhoneX = _utils2.default.env.isIPhoneX();
  },

  methods: {
    next: function next() {
      var page = this.currentPage;
      if (page < this.tabTitles.length - 1) {
        page++;
      }
      this.setPage(page);
    },
    prev: function prev() {
      var page = this.currentPage;
      if (page > 0) {
        page--;
      }
      this.setPage(page);
    },
    setPage: function setPage(page) {
      var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
      var animated = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;

      if (!this.isTabView) {
        this.currentPage = page;
        this._animateTransformX(page, animated);
        this.$emit('wxcTabBarCurrentTabSelected', { page: page });
        this.jumpOut(url);
        return;
      }
      var previousPage = this.currentPage;
      var currentTabEl = this.$refs['wxc-tab-title-' + page][0];
      var width = this.tabStyles.width;

      var appearNum = parseInt(750 / width);
      var tabsNum = this.tabTitles.length;
      var offset = page > appearNum ? -(750 - width) / 2 : -width * 2;

      if (appearNum < tabsNum) {
        (previousPage > appearNum || page > 1) && dom.scrollToElement(currentTabEl, {
          offset: offset, animated: animated
        });

        page <= 1 && previousPage > page && dom.scrollToElement(currentTabEl, {
          offset: -width * page,
          animated: animated
        });
      }

      this.currentPage = page;
      this._animateTransformX(page, animated);
      this.$emit('wxcTabBarCurrentTabSelected', { page: page });
    },
    jumpOut: function jumpOut(url) {
      url && _utils2.default.goToH5Page(url);
    },
    _animateTransformX: function _animateTransformX(page, animated) {
      var duration = this.duration,
          timingFunction = this.timingFunction;

      var computedDur = animated ? duration : 0.00001;
      var containerEl = this.$refs['tab-container'];
      var dist = page * 750;
      animation.transition(containerEl, {
        styles: {
          transform: 'translateX(' + -dist + 'px)'
        },
        duration: computedDur,
        timingFunction: timingFunction,
        delay: 0
      }, function () {});
    }
  }
};

/***/ }),
/* 270 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-tab-page"],
    style: {
      backgroundColor: _vm.wrapBgColor
    }
  }, [_c('div', {
    ref: "tab-page-wrap",
    staticClass: ["tab-page-wrap"]
  }, [_c('div', {
    ref: "tab-container",
    staticClass: ["tab-container"]
  }, [_vm._t("default")], 2)]), _c('div', {
    staticClass: ["tab-title-list"],
    style: {
      backgroundColor: _vm.tabStyles.bgColor,
      height: (_vm.tabStyles.height + (_vm.isIPhoneX ? 78 : 0)) + 'px',
      paddingBottom: _vm.isIPhoneX ? '78px' : '0'
    }
  }, _vm._l((_vm.tabTitles), function(v, index) {
    return _c('div', {
      key: index,
      ref: 'wxc-tab-title-' + index,
      refInFor: true,
      staticClass: ["title-item"],
      style: {
        width: _vm.tabStyles.width + 'px',
        height: _vm.tabStyles.height + 'px',
        backgroundColor: _vm.currentPage == index ? _vm.tabStyles.activeBgColor : _vm.tabStyles.bgColor
      },
      attrs: {
        "accessible": true,
        "ariaLabel": ("" + (v.title?v.title:'标签'+index))
      },
      on: {
        "click": function($event) {
          _vm.setPage(index, v.url)
        }
      }
    }, [(_vm.titleType === 'icon' && !_vm.titleUseSlot) ? _c('image', {
      style: {
        width: _vm.tabStyles.iconWidth + 'px',
        height: _vm.tabStyles.iconHeight + 'px'
      },
      attrs: {
        "src": _vm.currentPage == index ? v.activeIcon : v.icon
      }
    }) : _vm._e(), (_vm.titleType === 'iconFont' && v.codePoint && !_vm.titleUseSlot) ? _c('text', {
      style: {
        fontFamily: 'wxcIconFont',
        fontSize: _vm.tabStyles.iconFontSize + 'px',
        marginBottom: _vm.tabStyles.iconFontMarginBottom ? (_vm.tabStyles.iconFontMarginBottom + 'px') : '8px',
        color: _vm.currentPage == index ? _vm.tabStyles.activeIconFontColor : _vm.tabStyles.iconFontColor
      }
    }, [_vm._v(_vm._s(v.codePoint))]) : _vm._e(), (!_vm.titleUseSlot) ? _c('text', {
      staticClass: ["tab-text"],
      style: {
        fontSize: _vm.tabStyles.fontSize + 'px',
        fontWeight: (_vm.currentPage == index && _vm.tabStyles.isActiveTitleBold) ? 'bold' : 'normal',
        color: _vm.currentPage == index ? _vm.tabStyles.activeTitleColor : _vm.tabStyles.titleColor,
        paddingLeft: _vm.tabStyles.textPaddingLeft + 'px',
        paddingRight: _vm.tabStyles.textPaddingRight + 'px'
      }
    }, [_vm._v(_vm._s(v.title))]) : _vm._e(), (v.badge && !_vm.titleUseSlot) ? _c('div', {
      staticClass: ["desc-tag"]
    }, [_c('text', {
      staticClass: ["desc-text"]
    }, [_vm._v(_vm._s(v.badge))])]) : _vm._e(), (v.dot && !v.badge && !_vm.titleUseSlot) ? _c('div', {
      staticClass: ["dot"]
    }) : _vm._e(), (_vm.titleUseSlot) ? _vm._t(("tab-title-" + index)) : _vm._e()], 2)
  }))])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 271 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(272);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 272 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(273)
)

/* script */
__vue_exports__ = __webpack_require__(274)

/* template */
var __vue_template__ = __webpack_require__(275)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-tab-page\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-57f519d7"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 273 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-tab-page": {
    "width": "750"
  },
  "tab-title-list": {
    "flexDirection": "row"
  },
  "title-item": {
    "justifyContent": "center",
    "alignItems": "center",
    "borderBottomStyle": "solid"
  },
  "border-bottom": {
    "position": "absolute",
    "bottom": 0
  },
  "tab-page-wrap": {
    "width": "750",
    "overflow": "hidden"
  },
  "tab-container": {
    "flex": 1,
    "flexDirection": "row",
    "position": "absolute"
  },
  "tab-text": {
    "lines": 1,
    "textOverflow": "ellipsis"
  },
  "rightIcon": {
    "position": "fixed",
    "backgroundColor": "#ffffff",
    "boxShadow": "-50px 0 20px #ffffff"
  }
}

/***/ }),
/* 274 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _utils = __webpack_require__(0);

var _utils2 = _interopRequireDefault(_utils);

var _bindEnv = __webpack_require__(6);

var _bindEnv2 = _interopRequireDefault(_bindEnv);

var _indexWeex = __webpack_require__(7);

var _indexWeex2 = _interopRequireDefault(_indexWeex);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var dom = weex.requireModule('dom');
var animation = weex.requireModule('animation');
var swipeBack = weex.requireModule('swipeBack');

exports.default = {
  props: {
    tabTitles: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    panDist: {
      type: Number,
      default: 200
    },
    spmC: {
      type: [String, Number],
      default: ''
    },
    titleUseSlot: {
      type: Boolean,
      default: false
    },
    tabStyles: {
      type: Object,
      default: function _default() {
        return {
          bgColor: '#FFFFFF',
          titleColor: '#666666',
          activeTitleColor: '#3D3D3D',
          activeBgColor: '#FFFFFF',
          isActiveTitleBold: true,
          iconWidth: 70,
          iconHeight: 70,
          width: 160,
          height: 120,
          fontSize: 24,
          hasActiveBottom: true,
          activeBottomColor: '#FFC900',
          activeBottomWidth: 120,
          activeBottomHeight: 6,
          textPaddingLeft: 10,
          textPaddingRight: 10,
          leftOffset: 0,
          rightOffset: 0,
          normalBottomColor: '#F2F2F2',
          normalBottomHeight: 0,
          hasRightIcon: false
        };
      }
    },
    titleType: {
      type: String,
      default: 'icon'
    },
    tabPageHeight: {
      type: [String, Number],
      default: 1334
    },
    needSlider: {
      type: Boolean,
      default: true
    },
    isTabView: {
      type: Boolean,
      default: true
    },
    duration: {
      type: [Number, String],
      default: 300
    },
    timingFunction: {
      type: String,
      default: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)'
    },
    wrapBgColor: {
      type: String,
      default: '#f2f3f4'
    },
    clickAnimation: {
      type: Boolean,
      default: true
    },
    rightIconStyle: {
      type: Object,
      default: function _default() {
        return {
          top: 0,
          right: 0,
          paddingLeft: 20,
          paddingRight: 20
        };
      }
    }
  },
  data: function data() {
    return {
      currentPage: 0,
      gesToken: 0,
      isMoving: false,
      startTime: 0,
      deltaX: 0,
      translateX: 0
    };
  },
  created: function created() {
    var titleType = this.titleType,
        tabStyles = this.tabStyles;

    if (titleType === 'iconFont' && tabStyles.iconFontUrl) {
      dom.addRule('fontFace', {
        'fontFamily': "wxcIconFont",
        'src': 'url(' + tabStyles.iconFontUrl + ')'
      });
    }
  },
  mounted: function mounted() {
    if (swipeBack && swipeBack.forbidSwipeBack) {
      swipeBack.forbidSwipeBack(true);
    }
    if (_bindEnv2.default.supportsEBForIos() && this.isTabView && this.needSlider) {
      var tabPageEl = this.$refs['tab-page-wrap'];
      _indexWeex2.default.prepare && _indexWeex2.default.prepare({
        anchor: tabPageEl.ref,
        eventType: 'pan'
      });
    }
  },

  methods: {
    next: function next() {
      var page = this.currentPage;
      if (page < this.tabTitles.length - 1) {
        page++;
      }
      this.setPage(page);
    },
    prev: function prev() {
      var page = this.currentPage;
      if (page > 0) {
        page--;
      }
      this.setPage(page);
    },
    startHandler: function startHandler() {
      if (_bindEnv2.default.supportsEBForIos() && this.isTabView && this.needSlider) {
        this.bindExp(this.$refs['tab-page-wrap']);
      }
    },
    bindExp: function bindExp(element) {
      var _this = this;

      if (element && element.ref) {

        if (this.isMoving && this.gesToken !== 0) {
          _indexWeex2.default.unbind({
            eventType: 'pan',
            token: this.gesToken
          });
          this.gesToken = 0;
          return;
        }

        var tabElement = this.$refs['tab-container'];
        var currentPage = this.currentPage,
            panDist = this.panDist;

        var dist = currentPage * 750;

        // x-dist
        var props = [{
          element: tabElement.ref,
          property: 'transform.translateX',
          expression: 'x-' + dist
        }];

        var gesTokenObj = _indexWeex2.default.bind({
          anchor: element.ref,
          eventType: 'pan',
          props: props
        }, function (e) {
          var deltaX = e.deltaX,
              state = e.state;

          if (state === 'end') {
            if (deltaX < -panDist) {
              _this.next();
            } else if (deltaX > panDist) {
              _this.prev();
            } else {
              _this.setPage(currentPage);
            }
          }
        });
        this.gesToken = gesTokenObj.token;
      }
    },
    setPage: function setPage(page) {
      var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
      var animated = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;

      if (!this.isTabView) {
        this.jumpOut(url);
        return;
      }
      if (this.isMoving === true) {
        return;
      }
      this.isMoving = true;
      var previousPage = this.currentPage;
      var currentTabEl = this.$refs['wxc-tab-title-' + page][0];
      var width = this.tabStyles.width;

      var appearNum = parseInt(750 / width);
      var tabsNum = this.tabTitles.length;
      var offset = page > appearNum ? -(750 - width) / 2 : -width * 2;

      if (appearNum < tabsNum) {
        (previousPage > appearNum || page > 1) && dom.scrollToElement(currentTabEl, {
          offset: offset, animated: animated
        });

        page <= 1 && previousPage > page && dom.scrollToElement(currentTabEl, {
          offset: -width * page,
          animated: animated
        });
      }

      this.isMoving = false;
      this.currentPage = page;
      this._animateTransformX(page, animated);
      this.$emit('wxcTabPageCurrentTabSelected', { page: page });
    },
    jumpOut: function jumpOut(url) {
      url && _utils2.default.goToH5Page(url);
    },
    _animateTransformX: function _animateTransformX(page, animated) {
      var duration = this.duration,
          timingFunction = this.timingFunction;

      var computedDur = animated ? duration : 0.00001;
      var containerEl = this.$refs['tab-container'];
      var dist = page * 750;
      animation.transition(containerEl, {
        styles: {
          transform: 'translateX(' + -dist + 'px)'
        },
        duration: computedDur,
        timingFunction: timingFunction,
        delay: 0
      }, function () {});
    }
  }
};

/***/ }),
/* 275 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["wxc-tab-page"],
    style: {
      height: (_vm.tabPageHeight) + 'px',
      backgroundColor: _vm.wrapBgColor
    }
  }, [_c('scroller', {
    ref: "tab-title-list",
    staticClass: ["tab-title-list"],
    style: {
      backgroundColor: _vm.tabStyles.bgColor,
      height: (_vm.tabStyles.height) + 'px',
      paddingLeft: (_vm.tabStyles.leftOffset ? _vm.tabStyles.leftOffset : 0) + 'px',
      paddingRight: _vm.tabStyles.rightOffset
    },
    attrs: {
      "showScrollbar": false,
      "scrollDirection": "horizontal",
      "dataSpm": _vm.spmC
    }
  }, [_vm._l((_vm.tabTitles), function(v, index) {
    return _c('div', {
      key: index,
      ref: 'wxc-tab-title-' + index,
      refInFor: true,
      staticClass: ["title-item"],
      style: {
        width: _vm.tabStyles.width + 'px',
        height: _vm.tabStyles.height + 'px',
        backgroundColor: _vm.currentPage === index ? _vm.tabStyles.activeBgColor : _vm.tabStyles.bgColor,
        borderBottomWidth: _vm.tabStyles.normalBottomHeight,
        borderBottomColor: _vm.tabStyles.normalBottomColor
      },
      attrs: {
        "accessible": true,
        "ariaLabel": ("" + (v.title?v.title:'标签'+index))
      },
      on: {
        "click": function($event) {
          _vm.setPage(index, v.url, _vm.clickAnimation)
        }
      }
    }, [(_vm.titleType === 'icon' && !_vm.titleUseSlot) ? _c('image', {
      style: {
        width: _vm.tabStyles.iconWidth + 'px',
        height: _vm.tabStyles.iconHeight + 'px'
      },
      attrs: {
        "src": _vm.currentPage === index ? v.activeIcon : v.icon
      }
    }) : _vm._e(), (_vm.titleType === 'iconFont' && v.codePoint && !_vm.titleUseSlot) ? _c('text', {
      staticClass: ["icon-font"],
      style: {
        fontFamily: 'wxcIconFont',
        fontSize: _vm.tabStyles.iconFontSize + 'px',
        color: _vm.currentPage === index ? _vm.tabStyles.activeIconFontColor : _vm.tabStyles.iconFontColor
      }
    }, [_vm._v(_vm._s(v.codePoint))]) : _vm._e(), (!_vm.titleUseSlot) ? _c('text', {
      staticClass: ["tab-text"],
      style: {
        fontSize: _vm.tabStyles.fontSize + 'px',
        fontWeight: (_vm.currentPage === index && _vm.tabStyles.isActiveTitleBold) ? 'bold' : 'normal',
        color: _vm.currentPage === index ? _vm.tabStyles.activeTitleColor : _vm.tabStyles.titleColor,
        paddingLeft: (_vm.tabStyles.textPaddingLeft ? _vm.tabStyles.textPaddingLeft : 10) + 'px',
        paddingRight: (_vm.tabStyles.textPaddingRight ? _vm.tabStyles.textPaddingRight : 10) + 'px'
      }
    }, [_vm._v(_vm._s(v.title))]) : _vm._e(), (_vm.tabStyles.hasActiveBottom && !_vm.titleUseSlot) ? _c('div', {
      staticClass: ["border-bottom"],
      style: {
        width: _vm.tabStyles.activeBottomWidth + 'px',
        left: (_vm.tabStyles.width - _vm.tabStyles.activeBottomWidth) / 2 + 'px',
        height: _vm.tabStyles.activeBottomHeight + 'px',
        backgroundColor: _vm.currentPage === index ? _vm.tabStyles.activeBottomColor : 'transparent'
      }
    }) : _vm._e(), (_vm.titleUseSlot) ? _vm._t(("tab-title-" + index)) : _vm._e()], 2)
  }), (_vm.tabStyles.hasRightIcon) ? _c('div', {
    staticClass: ["rightIcon"],
    style: {
      top: _vm.rightIconStyle.top,
      right: _vm.rightIconStyle.right,
      paddingLeft: _vm.rightIconStyle.paddingLeft,
      paddingRight: _vm.rightIconStyle.paddingRight
    }
  }, [_vm._t("rightIcon")], 2) : _vm._e()], 2), _c('div', {
    ref: "tab-page-wrap",
    staticClass: ["tab-page-wrap"],
    style: {
      height: (_vm.tabPageHeight - _vm.tabStyles.height) + 'px'
    },
    on: {
      "horizontalpan": _vm.startHandler
    }
  }, [_c('div', {
    ref: "tab-container",
    staticClass: ["tab-container"]
  }, [_vm._t("default")], 2)])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 276 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(277);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 277 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(278)
)

/* script */
__vue_exports__ = __webpack_require__(279)

/* template */
var __vue_template__ = __webpack_require__(280)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-ui\\packages\\wxc-tag\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-a90327b4"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 278 */
/***/ (function(module, exports) {

module.exports = {
  "tag-item": {
    "height": "24",
    "justifyContent": "center",
    "alignItems": "center",
    "paddingBottom": "2"
  },
  "tag-border": {
    "borderBottomLeftRadius": "4",
    "borderBottomRightRadius": "4",
    "borderTopLeftRadius": "4",
    "borderTopRightRadius": "4"
  },
  "tag-hollow": {
    "borderWidth": "1"
  },
  "tag-image": {
    "height": "24"
  },
  "tag-special": {
    "borderWidth": "1",
    "flexDirection": "row"
  },
  "left-image": {
    "width": "20",
    "height": "20"
  },
  "tag-left": {
    "width": "24",
    "height": "24",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "tag-text": {
    "fontSize": "20",
    "height": "22",
    "lineHeight": "22",
    "paddingLeft": "6",
    "paddingRight": "6"
  }
}

/***/ }),
/* 279 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: {
    type: {
      type: String,
      default: 'solid'
    },
    value: {
      type: [String, Number],
      default: '测试测试'
    },
    tagColor: {
      type: String,
      default: '#ff5000'
    },
    fontColor: {
      type: String,
      default: '#333333'
    },
    specialIcon: {
      type: String,
      default: ''
    },
    img: {
      type: String,
      default: ''
    }
  },
  computed: {
    showSolid: function showSolid() {
      var type = this.type,
          value = this.value;

      return type === 'solid' && value !== '';
    },
    showHollow: function showHollow() {
      var type = this.type,
          value = this.value;

      return type === 'hollow' && value !== '';
    },
    showSpecial: function showSpecial() {
      var type = this.type,
          value = this.value,
          specialIcon = this.specialIcon;

      return type === 'special' && value !== '' && specialIcon !== '';
    },
    showImage: function showImage() {
      var type = this.type,
          img = this.img;

      return type === 'image' && img !== '';
    },
    tagTextStyle: function tagTextStyle() {
      var tagColor = this.tagColor,
          showSolid = this.showSolid;

      return showSolid ? { backgroundColor: tagColor } : { borderColor: tagColor };
    }
  },
  data: function data() {
    return {
      imgWidth: 90
    };
  },
  methods: {
    onLoad: function onLoad(e) {
      if (e.success && e.size && e.size.naturalWidth > 0) {
        var width = e.size.naturalWidth;
        var height = e.size.naturalHeight;
        this.imgWidth = width * (24 / height);
      }
    }
  }
};

/***/ }),
/* 280 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.showSolid || _vm.showHollow) ? _c('div', {
    class: ['tag-item', 'tag-border', _vm.showHollow && 'tag-hollow'],
    style: _vm.tagTextStyle
  }, [_c('text', {
    staticClass: ["tag-text"],
    style: {
      color: _vm.fontColor
    }
  }, [_vm._v(_vm._s(_vm.value))])]) : _vm._e(), (_vm.showImage) ? _c('image', {
    staticClass: ["tag-image"],
    style: {
      width: _vm.imgWidth + 'px'
    },
    attrs: {
      "src": _vm.img,
      "ariaHidden": true
    },
    on: {
      "load": _vm.onLoad
    }
  }) : _vm._e(), (_vm.showSpecial) ? _c('div', {
    staticClass: ["tag-special", "tag-border"],
    style: {
      borderColor: _vm.tagColor
    },
    attrs: {
      "accessible": true,
      "ariaLabel": _vm.value
    }
  }, [_c('div', {
    staticClass: ["tag-left"],
    style: {
      backgroundColor: _vm.tagColor
    }
  }, [_c('image', {
    staticClass: ["left-image"],
    attrs: {
      "src": _vm.specialIcon
    }
  })]), _c('text', {
    staticClass: ["tag-text"],
    style: {
      color: _vm.fontColor
    }
  }, [_vm._v(_vm._s(_vm.value))])]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 281 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(282)
)

/* script */
__vue_exports__ = __webpack_require__(283)

/* template */
var __vue_template__ = __webpack_require__(296)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-x-picker\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-59f0a001"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 282 */
/***/ (function(module, exports) {

module.exports = {
  "picker": {
    "position": "absolute",
    "left": "0",
    "top": "0",
    "width": "750",
    "flex": 1
  },
  "picker-content": {
    "width": "750",
    "height": "450",
    "flexDirection": "row"
  },
  "picker-btn": {
    "width": "750",
    "height": "100",
    "textAlign": "right",
    "flexDirection": "row-reverse"
  },
  "picker-btn-text": {
    "color": "#FA4D50",
    "fontSize": "32",
    "marginRight": "40",
    "lineHeight": "100"
  },
  "picker-item": {
    "position": "relative",
    "top": "0",
    "height": "450",
    "paddingLeft": "0",
    "paddingRight": "0",
    "paddingTop": "0",
    "paddingBottom": "0",
    "overflowX": "hidden",
    "overflowY": "scroll"
  },
  "picker-item-list": {
    "height": "448",
    "paddingLeft": "4",
    "paddingRight": "4"
  },
  "picker-item-text": {
    "height": "90",
    "lineHeight": "90",
    "fontSize": "40",
    "textAlign": "center",
    "wordWrap": "normal",
    "whiteSpace": "nowrap"
  },
  "picker-bar": {
    "position": "absolute",
    "borderTopWidth": "4",
    "borderTopStyle": "solid",
    "borderTopColor": "#FA4D50",
    "borderBottomWidth": "4",
    "borderBottomStyle": "solid",
    "borderBottomColor": "#FA4D50"
  },
  "ipx-bottom": {
    "paddingBottom": "30"
  }
}

/***/ }),
/* 283 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _wxcPopup = __webpack_require__(284);

var _wxcPopup2 = _interopRequireDefault(_wxcPopup);

var _type = __webpack_require__(294);

var _type2 = _interopRequireDefault(_type);

var _area = __webpack_require__(295);

var _area2 = _interopRequireDefault(_area);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


var componentWidth = '750';
var platform = weex.config.env.platform.toLowerCase();
var defaultPadding = 15;

var dom = weex.requireModule('dom');

exports.default = {
  name: "x-picker",
  components: { WxcPopup: _wxcPopup2.default },
  data: function data() {
    return {
      showPopup: false,

      pickerWidth: 750,

      pickerHeight: 450,

      pickerBarHeight: 90,

      pickerItemTextHeight: 90,

      column: 3,

      col_1_ref: 'picker_col_1',

      col_2_ref: 'picker_col_2',

      col_3_ref: 'picker_col_3',

      col_1_list: [],

      col_2_list: [],

      col_3_list: [],

      checked_col_1: 0,

      checked_col_2: 0,

      checked_col_3: 0,

      webPickerTimer: null

    };
  },
  props: {
    // 是否显示 picker
    show: {
      type: Boolean,
      default: false
    },
    // 类型   signle（单选） area（区域） section(区间) date（日期） time（时间）
    type: {
      type: String,
      default: 'single'
    },
    dataset: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    yearSection: {
      type: Array,
      default: function _default() {
        return [1949, new Date().getFullYear()];
      }
    },
    linkageColumn: {
      type: Number,
      default: 2
    },
    defaultTitle: {
      type: String,
      dafault: null
    }
  },
  created: function created() {

    // 初始化列数
    this.changeColumn();

    // 初始化列数据
    this.initColumns();
  },

  computed: {
    pickerItemStyle: function pickerItemStyle() {
      var style = {};
      var width = this.pickerWidth / this.column;
      style['width'] = width + 'px';
      return style;
    },
    pickerItemTextStyle: function pickerItemTextStyle() {
      var style = {};
      var width = this.pickerWidth / this.column;
      style['width'] = width + 'px';
      return style;
    },
    pickerBarStyle: function pickerBarStyle() {
      var style = {};

      var margin = 4;
      var width = this.pickerWidth / this.column - margin * 2;
      var top = this.pickerHeight / 2 - this.pickerBarHeight / 2;
      style['width'] = width + 'px';
      style['top'] = top + 'px';
      style['height'] = this.pickerBarHeight + 'px';
      style['marginLeft'] = margin + 'px';
      style['marginRight'] = margin + 'px';
      if (this.isWeb()) style['position'] = 'fixed';
      return style;
    }
  },
  methods: {
    numAdd: function numAdd() {
      for (var _len = arguments.length, num = Array(_len), _key = 0; _key < _len; _key++) {
        num[_key] = arguments[_key];
      }

      return num.reduce(function (ret, item) {
        ret += item;
        return ret;
      }, 0);
    },

    // 判断 是否是iphonex
    isipx: function isipx() {
      return weex && (weex.config.env.deviceModel === 'iPhone10,3' || weex.config.env.deviceModel === 'iPhone10,6');
    },
    isWeb: function isWeb() {
      return 'web' === platform;
    },
    PopupOverlayClick: function PopupOverlayClick(e) {
      this.$emit('overlayClick', e);
    },
    changeColumn: function changeColumn() {
      var type = this.type;

      if (_type2.default.area === type) {
        this.column = 3;
      } else if (_type2.default.section === type) {
        this.column = 2;
      } else if (_type2.default.date === type) {
        this.column = 3;
      } else if (_type2.default.time === type) {
        this.column = 2;
      } else if (_type2.default.linkage === type) {
        this.column = this.linkageColumn;
      } else {
        this.column = 1;
      }
    },
    initColumns: function initColumns() {

      var type = this.type;
      var dataset = this.dataset;

      if (_type2.default.area === type && dataset.length == 0) {
        // 如果选择了区域，且没有指定数据集时使用默认数据集
        dataset = _area2.default;
      }

      if (_type2.default.section === type) {
        if (this.column > 0) {
          this.col_1_list = dataset[0];
          this.checked_col_1 = 0;
        }
        if (this.column > 1) {
          this.col_2_list = dataset[1];
          this.checked_col_2 = 0;
        }
      } else if (_type2.default.date === type) {
        if (this.column > 0) {
          this.col_1_list = this.generTimeYear();
          this.checked_col_1 = 0;
        }
        if (this.column > 1) {
          this.col_2_list = this.generTimeMonth();
          this.checked_col_2 = 0;
        }
        if (this.column > 2) {
          this.col_3_list = this.generTimeDate();
          this.checked_col_3 = 0;
        }
      } else if (_type2.default.time === type) {
        if (this.column > 0) {
          this.col_1_list = this.generTimeHour();
          this.checked_col_1 = 0;
        }
        if (this.column > 1) {
          this.col_2_list = this.generTimeMinute();
          this.checked_col_2 = 0;
        }
      } else {
        if (this.column > 0) {
          this.col_1_list = dataset;
          this.checked_col_1 = 0;
        }
        if (this.column > 1) {
          this.col_2_list = this.col_1_list && this.col_1_list[0] && this.col_1_list[0].children || [];
          this.checked_col_2 = 0;
        }
        if (this.column > 2) {
          this.col_3_list = this.col_2_list && this.col_2_list[0] && this.col_2_list[0].children || [];
          this.checked_col_3 = 0;
        }
      }

      if (this.defaultTitle) {
        this.refreshCheckedByDefaultTitle();
      }

      this.refreshColumns();
    },
    refreshColumns: function refreshColumns() {
      var _self = this;
      var timer = setTimeout(function () {
        clearTimeout(timer);
        _self.checkedItem(_self.col_1_ref, _self.checked_col_1);
        timer = setTimeout(function () {
          clearTimeout(timer);
          _self.checkedItem(_self.col_2_ref, _self.checked_col_2);
          timer = setTimeout(function () {
            clearTimeout(timer);
            _self.checkedItem(_self.col_3_ref, _self.checked_col_3);
          }, 30);
        }, 15);
      }, 5);
    },
    onScroll: function onScroll(e) {},
    scrollEnd: function scrollEnd(e, ref) {

      console.log('scroll end');
      console.log('current checked', this.checked_col_1);

      var check_col = 0;
      if (this.col_1_ref == ref) {
        check_col = this.checked_col_1;
      } else if (this.col_2_ref == ref) {
        check_col = this.checked_col_2;
      } else if (this.col_3_ref == ref) {
        check_col = this.checked_col_3;
      }

      this.checkedItem(ref, check_col);

      if (this.column > 1) {
        var refarr = ref.split('_');
        var crt_col = parseInt(refarr[2]);

        if (!~[_type2.default.time, _type2.default.section].indexOf(this.type)) {
          this.updateOtherCol(crt_col + 1);
        }
      }
    },
    appearPickItem: function appearPickItem(e, ref, index) {

      if (!e.direction) {
        return;
      }

      console.log('appear ', ref, ' ', index, e.direction);

      var checked_index = index + (e.direction == 'down' ? 2 : -2);
      checked_index -= 2;
      if (checked_index < 0) {
        checked_index = 0;
      }

      if (this.col_1_ref == ref) {
        this.checked_col_1 = checked_index >= this.col_1_list.length ? this.col_1_list.length - 1 : checked_index;
      } else if (this.col_2_ref == ref) {
        this.checked_col_2 = checked_index >= this.col_2_list.length ? this.col_2_list.length - 1 : checked_index;
      } else if (this.col_3_ref == ref) {
        this.checked_col_3 = checked_index >= this.col_3_list.length ? this.col_3_list.length - 1 : checked_index;
      }

      if (this.isWeb()) {
        var _self = this;
        if (this.webPickerTimer) {
          clearTimeout(this.webPickerTimer);
        }
        this.webPickerTimer = setTimeout(function () {
          clearTimeout(_self.webPickerTimer);
          _self.webPickerTimer = null;
          _self.scrollEnd(e, ref);
        }, 500);
      }
    },
    disAppearPickItem: function disAppearPickItem(e, ref, index) {

      if (!e.direction) {
        return;
      }

      console.log('disappear ', ref, ' ', index, e.direction);

      var checked_index = index + (e.direction == 'up' ? 3 : -3);
      checked_index -= 2;
      if (checked_index < 0) {
        checked_index = 0;
      }

      if (this.col_1_ref == ref) {
        this.checked_col_1 = checked_index >= this.col_1_list.length ? this.col_1_list.length - 1 : checked_index;
      } else if (this.col_2_ref == ref) {
        this.checked_col_2 = checked_index >= this.col_2_list.length ? this.col_2_list.length - 1 : checked_index;
      } else if (this.col_3_ref == ref) {
        this.checked_col_3 = checked_index >= this.col_3_list.length ? this.col_3_list.length - 1 : checked_index;
      }

      if (this.isWeb()) {
        var _self = this;

        if (this.webPickerTimer) {
          clearTimeout(this.webPickerTimer);
        }
        this.webPickerTimer = setTimeout(function () {
          clearTimeout(_self.webPickerTimer);
          _self.webPickerTimer = null;
          _self.scrollEnd(e, ref);
        }, 500);
      }
    },


    // 更新其他列
    updateOtherCol: function updateOtherCol(col) {

      var col_ref = null;

      if (_type2.default.date === this.type) {
        if (col == 2) {
          col_ref = this.col_2_ref;
          this.col_2_list = this.generTimeMonth();
          this.checked_col_2 = 0;
        } else if (col == 3) {
          col_ref = this.col_3_ref;
          this.col_3_list = this.generTimeDate();
          this.checked_col_3 = 0;
        }
      } else {
        if (col == 2) {
          col_ref = this.col_2_ref;
          var prt_item = this.col_1_list[this.checked_col_1] || {};
          this.col_2_list = 'children' in prt_item ? prt_item.children : [];
          this.checked_col_2 = 0;
        } else if (col == 3) {
          col_ref = this.col_3_ref;
          var prt_item = this.col_2_list[this.checked_col_2] || {};
          this.col_3_list = 'children' in prt_item ? prt_item.children : [];
          this.checked_col_3 = 0;
        }
      }
      if (col_ref) {
        this.checkedItem(col_ref, 0);

        if (this.column > col) {
          this.updateOtherCol(col + 1);
        }
      }
    },


    // 选择 某列 某项
    checkedItem: function checkedItem(ref, idx) {
      var scrollToItem = null;
      if (!ref) return;

      scrollToItem = this.$refs[ref + '_text_' + idx];

      if (scrollToItem) {
        scrollToItem = Array.isArray(scrollToItem) ? scrollToItem.length > 0 ? scrollToItem[0] : null : scrollToItem;
        if (scrollToItem) {
          dom.scrollToElement(scrollToItem, { animated: true });
        }
      }
    },
    generTimeYear: function generTimeYear() {
      var yearSection = this.yearSection;
      var maxYear = Math.max.apply(Math, _toConsumableArray(yearSection)) || new Date().getFullYear();
      var minYear = Math.min.apply(Math, _toConsumableArray(yearSection)) || 1949;
      var dataset = Array.from({ length: maxYear - minYear + 1 }).map(function (item, index) {
        return {
          title: maxYear - index + '',
          value: maxYear - index
        };
      });
      return dataset;
    },
    generTimeMonth: function generTimeMonth() {
      var dataset = Array.from({ length: 12 }).map(function (item, index) {
        return {
          title: index + 1 > 9 ? index + 1 + '' : '0' + (index + 1),
          value: index + 1
        };
      });
      return dataset;
    },
    generTimeDate: function generTimeDate() {
      var result = this.getResult();
      var values = result.values;
      var year = values[0];
      var month = values[1];
      var dateCount = new Date(year, month, 0).getDate();
      var dataset = Array.from({ length: dateCount }).map(function (item, index) {
        return {
          title: index + 1 > 9 ? index + 1 + '' : '0' + (index + 1),
          value: index + 1
        };
      });
      return dataset;
    },
    generTimeHour: function generTimeHour() {
      var dataset = Array.from({ length: 24 }).map(function (item, index) {
        return {
          title: index > 9 ? '' + index : '0' + index,
          value: index
        };
      });
      return dataset;
    },
    generTimeMinute: function generTimeMinute() {
      var dataset = Array.from({ length: 60 }).map(function (item, index) {
        return {
          title: index > 9 ? '' + index : '0' + index,
          value: index
        };
      });
      return dataset;
    },
    findItemByTitle: function findItemByTitle(ref, title) {
      var arr = null;
      if (this.col_1_ref == ref) {
        arr = this.col_1_list;
      } else if (this.col_2_ref == ref) {
        arr = this.col_2_list;
      } else if (this.col_3_ref == ref) {
        arr = this.col_3_list;
      }
      return this.findIndexByTitle(arr, title);
    },
    findIndexByTitle: function findIndexByTitle(arr, t) {
      var idx = -1;
      if (!arr) {
        return idx;
      }
      console.log('find index title ,arr length :', arr.length);
      for (var i = 0; i < arr.length; i++) {
        var item = arr[i];
        var title = item.title;
        if (t === title) {
          idx = i;
          break;
        }
      }
      return idx;
    },
    getResult: function getResult() {
      var rst = {};
      var titles = [];
      var values = [];
      var checked = [];

      if (this.col_1_list.length > 0) {
        if (this.checked_col_1 >= 0 && this.checked_col_1 < this.col_1_list.length && this.col_1_list[this.checked_col_1]) {
          var checkobj = Object.assign({}, this.col_1_list[this.checked_col_1] || {});
          var title = 'title' in checkobj ? checkobj.title : '';
          var value = 'value' in checkobj ? checkobj.value : title;
          titles.push(title);
          values.push(value);
          checkobj.children && delete checkobj.children;
          checked.push(checkobj);
        } else {
          titles.push(null);
          values.push(null);
          checked.push(null);
        }
      } else {
        titles.push(null);
        values.push(null);
        checked.push(null);
      }

      if (this.column > 1) {
        if (this.col_2_list.length > 0) {
          if (this.checked_col_2 >= 0 && this.checked_col_2 < this.col_2_list.length && this.col_2_list[this.checked_col_2]) {
            var checkobj = Object.assign({}, this.col_2_list[this.checked_col_2] || {});
            var title = 'title' in checkobj ? checkobj.title : '';
            var value = 'value' in checkobj ? checkobj.value : title;
            titles.push(title);
            values.push(value);
            checkobj.children && delete checkobj.children;
            checked.push(checkobj);
          } else {
            titles.push(null);
            values.push(null);
            checked.push(null);
          }
        } else {
          titles.push(null);
          values.push(null);
          checked.push(null);
        }
      }

      if (this.column > 2) {
        if (this.col_3_list.length > 0) {
          if (this.checked_col_3 >= 0 && this.checked_col_3 < this.col_3_list.length && this.col_3_list[this.checked_col_3]) {
            var checkobj = Object.assign({}, this.col_3_list[this.checked_col_3] || {});
            var title = 'title' in checkobj ? checkobj.title : '';
            var value = 'value' in checkobj ? checkobj.value : title;
            titles.push(title);
            values.push(value);
            checkobj.children && delete checkobj.children;
            checked.push(checkobj);
          } else {
            titles.push(null);
            values.push(null);
            checked.push(null);
          }
        } else {
          titles.push(null);
          values.push(null);
          checked.push(null);
        }
      }
      rst['titles'] = titles;
      rst['values'] = values;
      rst['title'] = titles.join(' ');
      rst['value'] = values.join(' ');
      rst['checked'] = checked;
      return rst;
    },


    // 当点击确定时
    change: function change(e) {

      var event = this.getResult();

      this.$emit('onchange', event);

      this.cancel(e);
    },
    cancel: function cancel(e) {
      this.PopupOverlayClick(e);
    },
    refreshCheckedByDefaultTitle: function refreshCheckedByDefaultTitle() {
      var defaultTitle = this.defaultTitle || '';

      var arr = defaultTitle.split(' ');
      if (arr.length > 0) {
        this.checked_col_1 = this.findItemByTitle(this.col_1_ref, arr[0]);
        this.checked_col_1 = this.checked_col_1 < 0 ? 0 : this.checked_col_1;
      }
      if (arr.length > 1) {
        this.checked_col_2 = this.findItemByTitle(this.col_2_ref, arr[1]);
        this.checked_col_2 = this.checked_col_2 < 0 ? 0 : this.checked_col_2;
      }
      if (arr.length > 2) {
        this.checked_col_3 = this.findItemByTitle(this.col_3_ref, arr[2]);
        this.checked_col_3 = this.checked_col_3 < 0 ? 0 : this.checked_col_3;
      }
    }
  },
  watch: {
    show: function show(crt) {
      if (crt) {
        this.refreshCheckedByDefaultTitle();
        this.refreshColumns();
      }
    },
    type: function type() {
      this.changeColumn();
      this.initColumns();
    },
    dataset: function dataset(crt) {
      if (!crt) this.dataset = [];
      this.changeColumn();
      this.initColumns();
    },
    linkageColumn: function linkageColumn(crt) {
      this.column = crt;
    },
    defaultTitle: function defaultTitle(crt, old) {
      if (crt == old) return;
      this.refreshCheckedByDefaultTitle();
      this.refreshColumns();
    }
  }
};

/***/ }),
/* 284 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(285);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 285 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(286)
)

/* script */
__vue_exports__ = __webpack_require__(287)

/* template */
var __vue_template__ = __webpack_require__(293)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-x-picker\\wxc-popup\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-6a6749e6"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 286 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-popup": {
    "position": "fixed",
    "width": "750"
  },
  "top": {
    "left": 0,
    "right": 0
  },
  "bottom": {
    "left": 0,
    "right": 0
  },
  "left": {
    "bottom": 0,
    "top": 0
  },
  "right": {
    "bottom": 0,
    "top": 0
  }
}

/***/ }),
/* 287 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

var _wxcOverlay = __webpack_require__(288);

var _wxcOverlay2 = _interopRequireDefault(_wxcOverlay);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');
var platform = weex.config.env.platform;

var isWeb = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && platform.toLowerCase() === 'web';
exports.default = {
  components: { WxcOverlay: _wxcOverlay2.default },
  props: {
    show: {
      type: Boolean,
      default: false
    },
    pos: {
      type: String,
      default: 'bottom'
    },
    popupColor: {
      type: String,
      default: '#FFFFFF'
    },
    overlayCfg: {
      type: Object,
      default: function _default() {
        return {
          hasAnimation: true,
          timingFunction: ['ease-in', 'ease-out'],
          duration: 300,
          opacity: 0.6
        };
      }
    },
    height: {
      type: [Number, String],
      default: 840
    },
    standOut: {
      type: [Number, String],
      default: 0
    },
    width: {
      type: [Number, String],
      default: 750
    },
    animation: {
      type: Object,
      default: function _default() {
        return {
          timingFunction: 'ease-in'
        };
      }
    }
  },
  data: function data() {
    return {
      haveOverlay: true,
      isOverShow: true
    };
  },
  computed: {
    isNeedShow: function isNeedShow() {
      var _this = this;

      setTimeout(function () {
        _this.appearPopup(_this.show);
      }, 50);
      return this.show;
    },
    _height: function _height() {
      this.appearPopup(this.show, 150);
      return this.height;
    },
    padStyle: function padStyle() {
      var pos = this.pos,
          width = this.width,
          height = this.height,
          popupColor = this.popupColor,
          standOut = this.standOut;

      var style = {
        width: width + 'px',
        backgroundColor: popupColor
      };
      pos === 'top' && (style = _extends({}, style, {
        top: -height + standOut + 'px',
        height: height + 'px'
      }));
      pos === 'bottom' && (style = _extends({}, style, {
        bottom: -height + standOut + 'px',
        height: height + 'px'
      }));
      pos === 'left' && (style = _extends({}, style, {
        left: -width + standOut + 'px'
      }));
      pos === 'right' && (style = _extends({}, style, {
        right: -width + standOut + 'px'
      }));
      return style;
    }
  },
  methods: {
    handleTouchEnd: function handleTouchEnd(e) {
      // 在支付宝上面有点击穿透问题
      var platform = weex.config.env.platform;

      platform === 'Web' && e.preventDefault && e.preventDefault();
    },
    hide: function hide() {
      this.appearPopup(false);
      this.$refs.overlay.appearOverlay(false);
    },
    wxcOverlayBodyClicking: function wxcOverlayBodyClicking() {
      this.isShow && this.appearPopup(false);
    },
    appearPopup: function appearPopup(bool) {
      var _this2 = this;

      var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;

      this.isShow = bool;
      var popupEl = this.$refs['wxc-popup'];
      if (!popupEl) {
        return;
      }
      animation.transition(popupEl, _extends({
        styles: {
          transform: this.getTransform(this.pos, this.width, this.height, !bool)
        },
        duration: duration,
        delay: 0
      }, this.animation), function () {
        if (!bool) {
          _this2.$emit('wxcPopupOverlayClicked', { pos: _this2.pos });
        }
      });
    },
    getTransform: function getTransform(pos, width, height, bool) {
      var _size = pos === 'top' || pos === 'bottom' ? height : width;
      bool && (_size = 0);
      var _transform = void 0;
      switch (pos) {
        case 'top':
          _transform = 'translateY(' + _size + 'px)';
          break;
        case 'bottom':
          _transform = 'translateY(-' + _size + 'px)';
          break;
        case 'left':
          _transform = 'translateX(' + _size + 'px)';
          break;
        case 'right':
          _transform = 'translateX(-' + _size + 'px)';
          break;
      }
      return _transform;
    }
  }
};

/***/ }),
/* 288 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = __webpack_require__(289);

Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function get() {
    return _interopRequireDefault(_index).default;
  }
});

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ }),
/* 289 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(290)
)

/* script */
__vue_exports__ = __webpack_require__(291)

/* template */
var __vue_template__ = __webpack_require__(292)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\node_modules\\weex-x-picker\\wxc-overlay\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1bb0e58a"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 290 */
/***/ (function(module, exports) {

module.exports = {
  "wxc-overlay": {
    "width": "750",
    "position": "fixed",
    "left": 0,
    "top": 0,
    "bottom": 0,
    "right": 0
  }
}

/***/ }),
/* 291 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var animation = weex.requireModule('animation');
exports.default = {
  props: {
    show: {
      type: Boolean,
      default: true
    },
    hasAnimation: {
      type: Boolean,
      default: true
    },
    duration: {
      type: [Number, String],
      default: 300
    },
    timingFunction: {
      type: Array,
      default: function _default() {
        return ['ease-in', 'ease-out'];
      }
    },
    opacity: {
      type: [Number, String],
      default: 0.6
    },
    canAutoClose: {
      type: Boolean,
      default: true
    }
  },
  computed: {
    overlayStyle: function overlayStyle() {
      return {
        opacity: this.hasAnimation ? 0 : 1,
        backgroundColor: 'rgba(0, 0, 0,' + this.opacity + ')'
      };
    },
    shouldShow: function shouldShow() {
      var _this = this;

      var show = this.show,
          hasAnimation = this.hasAnimation;

      hasAnimation && setTimeout(function () {
        _this.appearOverlay(show);
      }, 50);
      return show;
    }
  },
  methods: {
    overlayClicked: function overlayClicked(e) {
      this.canAutoClose ? this.appearOverlay(false) : this.$emit('wxcOverlayBodyClicked', {});
    },
    appearOverlay: function appearOverlay(bool) {
      var _this2 = this;

      var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.duration;
      var hasAnimation = this.hasAnimation,
          timingFunction = this.timingFunction,
          canAutoClose = this.canAutoClose;

      var needEmit = !bool && canAutoClose;
      needEmit && this.$emit('wxcOverlayBodyClicking', {});
      var overlayEl = this.$refs['wxc-overlay'];
      if (hasAnimation && overlayEl) {
        animation.transition(overlayEl, {
          styles: {
            opacity: bool ? 1 : 0
          },
          duration: duration,
          timingFunction: timingFunction[bool ? 0 : 1],
          delay: 0
        }, function () {
          needEmit && _this2.$emit('wxcOverlayBodyClicked', {});
        });
      } else {
        needEmit && this.$emit('wxcOverlayBodyClicked', {});
      }
    }
  }
};

/***/ }),
/* 292 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [(_vm.show) ? _c('div', {
    ref: "wxc-overlay",
    staticClass: ["wxc-overlay"],
    style: _vm.overlayStyle,
    attrs: {
      "hack": _vm.shouldShow
    },
    on: {
      "click": _vm.overlayClicked
    }
  }) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 293 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    on: {
      "touchend": _vm.handleTouchEnd
    }
  }, [(_vm.show) ? _c('wxc-overlay', _vm._b({
    ref: "overlay",
    attrs: {
      "show": _vm.haveOverlay && _vm.isOverShow
    },
    on: {
      "wxcOverlayBodyClicking": _vm.wxcOverlayBodyClicking
    }
  }, 'wxc-overlay', _vm.overlayCfg, false)) : _vm._e()], 1), (_vm.show) ? _c('div', {
    ref: "wxc-popup",
    class: ['wxc-popup', _vm.pos],
    style: _vm.padStyle,
    attrs: {
      "height": _vm._height,
      "hack": _vm.isNeedShow
    },
    on: {
      "click": function () {}
    }
  }, [_vm._t("default")], 2) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 294 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = {

  // 单选
  single: 'single',

  // 区域
  area: 'area',

  // 区间
  section: 'section',

  // 日期
  date: 'date',

  // 时间
  time: 'time',

  // 联动
  linkage: 'linkage'
};

/***/ }),
/* 295 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = [{ "title": "北京", "children": [{ "title": "北京", "children": [{ "title": "东城区" }, { "title": "西城区" }, { "title": "崇文区" }, { "title": "宣武区" }, { "title": "朝阳区" }, { "title": "丰台区" }, { "title": "石景山区" }, { "title": "海淀区" }, { "title": "门头沟区" }, { "title": "房山区" }, { "title": "通州区" }, { "title": "顺义区" }, { "title": "昌平区" }, { "title": "大兴区" }, { "title": "平谷区" }, { "title": "怀柔区" }, { "title": "密云县" }, { "title": "延庆县" }] }] }, { "title": "天津", "children": [{ "title": "天津", "children": [{ "title": "和平区" }, { "title": "河东区" }, { "title": "河西区" }, { "title": "南开区" }, { "title": "河北区" }, { "title": "红桥区" }, { "title": "塘沽区" }, { "title": "汉沽区" }, { "title": "大港区" }, { "title": "东丽区" }, { "title": "西青区" }, { "title": "津南区" }, { "title": "北辰区" }, { "title": "武清区" }, { "title": "宝坻区" }, { "title": "宁河县" }, { "title": "静海县" }, { "title": "蓟县" }] }] }, { "title": "河北", "children": [{ "title": "石家庄", "children": [{ "title": "长安区" }, { "title": "桥东区" }, { "title": "桥西区" }, { "title": "新华区" }, { "title": "郊区" }, { "title": "井陉矿区" }, { "title": "井陉县" }, { "title": "正定县" }, { "title": "栾城县" }, { "title": "行唐县" }, { "title": "灵寿县" }, { "title": "高邑县" }, { "title": "深泽县" }, { "title": "赞皇县" }, { "title": "无极县" }, { "title": "平山县" }, { "title": "元氏县" }, { "title": "赵县" }, { "title": "辛集市" }, { "title": "藁" }, { "title": "晋州市" }, { "title": "新乐市" }, { "title": "鹿泉市" }] }, { "title": "唐山", "children": [{ "title": "路南区" }, { "title": "路北区" }, { "title": "古冶区" }, { "title": "开平区" }, { "title": "新区" }, { "title": "丰润县" }, { "title": "滦县" }, { "title": "滦南县" }, { "title": "乐亭县" }, { "title": "迁西县" }, { "title": "玉田县" }, { "title": "唐海县" }, { "title": "遵化市" }, { "title": "丰南市" }, { "title": "迁安市" }] }, { "title": "秦皇岛", "children": [{ "title": "海港区" }, { "title": "山海关区" }, { "title": "北戴河区" }, { "title": "青龙满族自治县" }, { "title": "昌黎县" }, { "title": "抚宁县" }, { "title": "卢龙县" }] }, { "title": "邯郸", "children": [{ "title": "邯山区" }, { "title": "丛台区" }, { "title": "复兴区" }, { "title": "峰峰矿区" }, { "title": "邯郸县" }, { "title": "临漳县" }, { "title": "成安县" }, { "title": "大名县" }, { "title": "涉县" }, { "title": "磁县" }, { "title": "肥乡县" }, { "title": "永年县" }, { "title": "邱县" }, { "title": "鸡泽县" }, { "title": "广平县" }, { "title": "馆陶县" }, { "title": "魏县" }, { "title": "曲周县" }, { "title": "武安市" }] }, { "title": "邢台", "children": [{ "title": "桥东区" }, { "title": "桥西区" }, { "title": "邢台县" }, { "title": "临城县" }, { "title": "内丘县" }, { "title": "柏乡县" }, { "title": "隆尧县" }, { "title": "任县" }, { "title": "南和县" }, { "title": "宁晋县" }, { "title": "巨鹿县" }, { "title": "新河县" }, { "title": "广宗县" }, { "title": "平乡县" }, { "title": "威县" }, { "title": "清河县" }, { "title": "临西县" }, { "title": "南宫市" }, { "title": "沙河市" }] }, { "title": "保定", "children": [{ "title": "新市区" }, { "title": "北市区" }, { "title": "南市区" }, { "title": "满城县" }, { "title": "清苑县" }, { "title": "涞水县" }, { "title": "阜平县" }, { "title": "徐水县" }, { "title": "定兴县" }, { "title": "唐县" }, { "title": "高阳县" }, { "title": "容城县" }, { "title": "涞源县" }, { "title": "望都县" }, { "title": "安新县" }, { "title": "易县" }, { "title": "曲阳县" }, { "title": "蠡县" }, { "title": "顺平县" }, { "title": "博野" }, { "title": "雄县" }, { "title": "涿州市" }, { "title": "定州市" }, { "title": "安国市" }, { "title": "高碑店市" }] }, { "title": "张家口", "children": [{ "title": "桥东区" }, { "title": "桥西区" }, { "title": "宣化区" }, { "title": "下花园区" }, { "title": "宣化县" }, { "title": "张北县" }, { "title": "康保县" }, { "title": "沽源县" }, { "title": "尚义县" }, { "title": "蔚县" }, { "title": "阳原县" }, { "title": "怀安县" }, { "title": "万全县" }, { "title": "怀来县" }, { "title": "涿鹿县" }, { "title": "赤城县" }, { "title": "崇礼县" }] }, { "title": "承德", "children": [{ "title": "双桥区" }, { "title": "双滦区" }, { "title": "鹰手营子矿区" }, { "title": "承德县" }, { "title": "兴隆县" }, { "title": "平泉县" }, { "title": "滦平县" }, { "title": "隆化县" }, { "title": "丰宁满族自治县" }, { "title": "宽城满族自治县" }, { "title": "围场满族蒙古族自治县" }] }, { "title": "沧州", "children": [{ "title": "新华区" }, { "title": "运河区" }, { "title": "沧县" }, { "title": "青县" }, { "title": "东光县" }, { "title": "海兴县" }, { "title": "盐山县" }, { "title": "肃宁县" }, { "title": "南皮县" }, { "title": "吴桥县" }, { "title": "献县" }, { "title": "孟村回族自治县" }, { "title": "泊头市" }, { "title": "任丘市" }, { "title": "黄骅市" }, { "title": "河间市" }] }, { "title": "廊坊", "children": [{ "title": "安次区" }, { "title": "固安县" }, { "title": "永清县" }, { "title": "香河县" }, { "title": "大城县" }, { "title": "文安县" }, { "title": "大厂回族自治县" }, { "title": "霸州市" }, { "title": "三河市" }] }, { "title": "衡水", "children": [{ "title": "桃城区" }, { "title": "枣强县" }, { "title": "武邑县" }, { "title": "武强县" }, { "title": "饶阳县" }, { "title": "安平县" }, { "title": "故城县" }, { "title": "景县" }, { "title": "阜城县" }, { "title": "冀州市" }, { "title": "深州市" }] }] }, { "title": "山西", "children": [{ "title": "太原", "children": [{ "title": "小店区" }, { "title": "迎泽区" }, { "title": "杏花岭区" }, { "title": "尖草坪区" }, { "title": "万柏林区" }, { "title": "晋源区" }, { "title": "清徐县" }, { "title": "阳曲县" }, { "title": "娄烦县" }, { "title": "古交市" }] }, { "title": "大同", "children": [{ "title": "城区" }, { "title": "矿区" }, { "title": "南郊区" }, { "title": "新荣区" }, { "title": "阳高县" }, { "title": "天镇县" }, { "title": "广灵县" }, { "title": "灵丘县" }, { "title": "浑源县" }, { "title": "左云县" }, { "title": "大同县" }] }, { "title": "阳泉", "children": [{ "title": "城区" }, { "title": "矿区" }, { "title": "郊区" }, { "title": "平定县" }, { "title": "盂县" }] }, { "title": "长治", "children": [{ "title": "城区" }, { "title": "郊区" }, { "title": "长治县" }, { "title": "襄垣县" }, { "title": "屯留县" }, { "title": "平顺县" }, { "title": "黎城县" }, { "title": "壶关县" }, { "title": "长子县" }, { "title": "武乡县" }, { "title": "沁县" }, { "title": "沁源县" }, { "title": "潞城市" }] }, { "title": "晋城", "children": [{ "title": "城区" }, { "title": "沁水县" }, { "title": "阳城县" }, { "title": "陵川县" }, { "title": "泽州县" }, { "title": "高平市" }] }, { "title": "朔州", "children": [{ "title": "朔城区" }, { "title": "平鲁区" }, { "title": "山阴县" }, { "title": "应县" }, { "title": "右玉县" }, { "title": "怀仁县" }] }, { "title": "忻州", "children": [{ "title": "忻府区" }, { "title": "原平市" }, { "title": "定襄县" }, { "title": "五台县" }, { "title": "代县" }, { "title": "繁峙县" }, { "title": "宁武县" }, { "title": "静乐县" }, { "title": "神池县" }, { "title": "五寨县" }, { "title": "岢岚县" }, { "title": "河曲县" }, { "title": "保德县" }, { "title": "偏关县" }] }, { "title": "吕梁", "children": [{ "title": "离石区" }, { "title": "孝义市" }, { "title": "汾阳市" }, { "title": "文水县" }, { "title": "交城县" }, { "title": "兴县" }, { "title": "临县" }, { "title": "柳林县" }, { "title": "石楼县" }, { "title": "岚县" }, { "title": "方山县" }, { "title": "中阳县" }, { "title": "交口县" }] }, { "title": "晋中", "children": [{ "title": "榆次市" }, { "title": "介休市" }, { "title": "榆社县" }, { "title": "左权县" }, { "title": "和顺县" }, { "title": "昔阳县" }, { "title": "寿阳县" }, { "title": "太谷县" }, { "title": "祁县" }, { "title": "平遥县" }, { "title": "灵石县" }] }, { "title": "临汾", "children": [{ "title": "临汾市" }, { "title": "侯马市" }, { "title": "霍州市" }, { "title": "曲沃县" }, { "title": "翼城县" }, { "title": "襄汾县" }, { "title": "洪洞县" }, { "title": "古县" }, { "title": "安泽县" }, { "title": "浮山县" }, { "title": "吉县" }, { "title": "乡宁县" }, { "title": "蒲县" }, { "title": "大宁县" }, { "title": "永和县" }, { "title": "隰县" }, { "title": "汾西县" }] }, { "title": "运城", "children": [{ "title": "运城市" }, { "title": "永济市" }, { "title": "河津市" }, { "title": "芮城县" }, { "title": "临猗县" }, { "title": "万荣县" }, { "title": "新绛县" }, { "title": "稷山县" }, { "title": "闻喜县" }, { "title": "夏县" }, { "title": "绛县" }, { "title": "平陆县" }, { "title": "垣曲县" }] }] }, { "title": "内蒙古", "children": [{ "title": "呼和浩特", "children": [{ "title": "新城区" }, { "title": "回民区" }, { "title": "玉泉区" }, { "title": "郊区" }, { "title": "土默特左旗" }, { "title": "托克托县" }, { "title": "和林格尔县" }, { "title": "清水河县" }, { "title": "武川县" }] }, { "title": "包头", "children": [{ "title": "东河区" }, { "title": "昆都伦区" }, { "title": "青山区" }, { "title": "石拐矿区" }, { "title": "白云矿区" }, { "title": "郊区" }, { "title": "土默特右旗" }, { "title": "固阳县" }, { "title": "达尔罕茂明安联合旗" }] }, { "title": "乌海", "children": [{ "title": "海勃湾区" }, { "title": "海南区" }, { "title": "乌达区" }] }, { "title": "赤峰", "children": [{ "title": "红山区" }, { "title": "元宝山区" }, { "title": "松山区" }, { "title": "阿鲁科尔沁旗" }, { "title": "巴林左旗" }, { "title": "巴林右旗" }, { "title": "林西县" }, { "title": "克什克腾旗" }, { "title": "翁牛特旗" }, { "title": "喀喇沁旗" }, { "title": "宁城县" }, { "title": "敖汉旗" }] }, { "title": "呼伦贝尔", "children": [{ "title": "海拉尔市" }, { "title": "满洲里市" }, { "title": "扎兰屯市" }, { "title": "牙克石市" }, { "title": "根河市" }, { "title": "额尔古纳市" }, { "title": "阿荣旗" }, { "title": "莫力达瓦达斡尔族自治旗" }, { "title": "鄂伦春自治旗" }, { "title": "鄂温克族自治旗" }, { "title": "新巴尔虎右旗" }, { "title": "新巴尔虎左旗" }, { "title": "陈巴尔虎旗" }] }, { "title": "兴安盟", "children": [{ "title": "乌兰浩特市" }, { "title": "阿尔山市" }, { "title": "科尔沁右翼前旗" }, { "title": "科尔沁右翼中旗" }, { "title": "扎赉特旗" }, { "title": "突泉县" }] }, { "title": "通辽", "children": [{ "title": "科尔沁区" }, { "title": "霍林郭勒市" }, { "title": "科尔沁左翼中旗" }, { "title": "科尔沁左翼后旗" }, { "title": "开鲁县" }, { "title": "库伦旗" }, { "title": "奈曼旗" }, { "title": "扎鲁特旗" }] }, { "title": "锡林郭勒盟", "children": [{ "title": "二连浩特市" }, { "title": "锡林浩特市" }, { "title": "阿巴嘎旗" }, { "title": "苏尼特左旗" }, { "title": "苏尼特右旗" }, { "title": "东乌珠穆沁旗" }, { "title": "西乌珠穆沁旗" }, { "title": "太仆寺旗" }, { "title": "镶黄旗" }, { "title": "正镶白旗" }, { "title": "正蓝旗" }, { "title": "多伦县" }] }, { "title": "乌兰察布盟", "children": [{ "title": "集宁市" }, { "title": "丰镇市" }, { "title": "卓资县" }, { "title": "化德县" }, { "title": "商都县" }, { "title": "兴和县" }, { "title": "凉城县" }, { "title": "察哈尔右翼前旗" }, { "title": "察哈尔右翼中旗" }, { "title": "察哈尔右翼后旗" }, { "title": "四子王旗" }] }, { "title": "伊克昭盟", "children": [{ "title": "东胜市" }, { "title": "达拉特旗" }, { "title": "准格尔旗" }, { "title": "鄂托克前旗" }, { "title": "鄂托克旗" }, { "title": "杭锦旗" }, { "title": "乌审旗" }, { "title": "伊金霍洛旗" }] }, { "title": "巴彦淖尔盟", "children": [{ "title": "临河市" }, { "title": "五原县" }, { "title": "磴口县" }, { "title": "乌拉特前旗" }, { "title": "乌拉特中旗" }, { "title": "乌拉特后旗" }, { "title": "杭锦后旗" }] }, { "title": "阿拉善盟", "children": [{ "title": "阿拉善左旗" }, { "title": "阿拉善右旗" }, { "title": "额济纳旗" }] }] }, { "title": "辽宁", "children": [{ "title": "沈阳", "children": [{ "title": "沈河区" }, { "title": "皇姑区" }, { "title": "和平区" }, { "title": "大东区" }, { "title": "铁西区" }, { "title": "苏家屯区" }, { "title": "东陵区" }, { "title": "于洪区" }, { "title": "新民市" }, { "title": "法库县" }, { "title": "辽中县" }, { "title": "康平县" }, { "title": "新城子区" }, { "title": "其他" }] }, { "title": "大连", "children": [{ "title": "西岗区" }, { "title": "中山区" }, { "title": "沙河口区" }, { "title": "甘井子区" }, { "title": "旅顺口区" }, { "title": "金州区" }, { "title": "瓦房店市" }, { "title": "普兰店市" }, { "title": "庄河市" }, { "title": "长海县" }, { "title": "其他" }] }, { "title": "鞍山", "children": [{ "title": "铁东区" }, { "title": "铁西区" }, { "title": "立山区" }, { "title": "千山区" }, { "title": "海城市" }, { "title": "台安县" }, { "title": "岫岩满族自治县" }, { "title": "其他" }] }, { "title": "抚顺", "children": [{ "title": "顺城区" }, { "title": "新抚区" }, { "title": "东洲区" }, { "title": "望花区" }, { "title": "抚顺县" }, { "title": "清原满族自治县" }, { "title": "新宾满族自治县" }, { "title": "其他" }] }, { "title": "本溪", "children": [{ "title": "平山区" }, { "title": "明山区" }, { "title": "溪湖区" }, { "title": "南芬区" }, { "title": "本溪满族自治县" }, { "title": "桓仁满族自治县" }, { "title": "其他" }] }, { "title": "丹东", "children": [{ "title": "振兴区" }, { "title": "元宝区" }, { "title": "振安区" }, { "title": "东港市" }, { "title": "凤城市" }, { "title": "宽甸满族自治县" }, { "title": "其他" }] }, { "title": "锦州", "children": [{ "title": "太和区" }, { "title": "古塔区" }, { "title": "凌河区" }, { "title": "凌海市" }, { "title": "黑山县" }, { "title": "义县" }, { "title": "北宁市" }, { "title": "其他" }] }, { "title": "营口", "children": [{ "title": "站前区" }, { "title": "西市区" }, { "title": "鲅鱼圈区" }, { "title": "老边区" }, { "title": "大石桥市" }, { "title": "盖州市" }, { "title": "其他" }] }, { "title": "阜新", "children": [{ "title": "海州区" }, { "title": "新邱区" }, { "title": "太平区" }, { "title": "清河门区" }, { "title": "细河区" }, { "title": "彰武县" }, { "title": "阜新蒙古族自治县" }, { "title": "其他" }] }, { "title": "辽阳", "children": [{ "title": "白塔区" }, { "title": "文圣区" }, { "title": "宏伟区" }, { "title": "太子河区" }, { "title": "弓长岭区" }, { "title": "灯塔市" }, { "title": "辽阳县" }, { "title": "其他" }] }, { "title": "盘锦", "children": [{ "title": "双台子区" }, { "title": "兴隆台区" }, { "title": "盘山县" }, { "title": "大洼县" }, { "title": "其他" }] }, { "title": "铁岭", "children": [{ "title": "银州区" }, { "title": "清河区" }, { "title": "调兵山市" }, { "title": "开原市" }, { "title": "铁岭县" }, { "title": "昌图县" }, { "title": "西丰县" }, { "title": "其他" }] }, { "title": "朝阳", "children": [{ "title": "双塔区" }, { "title": "龙城区" }, { "title": "凌源市" }, { "title": "北票市" }, { "title": "朝阳县" }, { "title": "建平县" }, { "title": "喀喇沁左翼蒙古族自治县" }, { "title": "其他" }] }, { "title": "葫芦岛", "children": [{ "title": "龙港区" }, { "title": "南票区" }, { "title": "连山区" }, { "title": "兴城市" }, { "title": "绥中县" }, { "title": "建昌县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "吉林", "children": [{ "title": "长春", "children": [{ "title": "朝阳区" }, { "title": "宽城区" }, { "title": "二道区" }, { "title": "南关区" }, { "title": "绿园区" }, { "title": "双阳区" }, { "title": "九台市" }, { "title": "榆树市" }, { "title": "德惠市" }, { "title": "农安县" }, { "title": "其他" }] }, { "title": "吉林", "children": [{ "title": "船营区" }, { "title": "昌邑区" }, { "title": "龙潭区" }, { "title": "丰满区" }, { "title": "舒兰市" }, { "title": "桦甸市" }, { "title": "蛟河市" }, { "title": "磐石市" }, { "title": "永吉县" }, { "title": "其他" }] }, { "title": "四平", "children": [{ "title": "铁西区" }, { "title": "铁东区" }, { "title": "公主岭市" }, { "title": "双辽市" }, { "title": "梨树县" }, { "title": "伊通满族自治县" }, { "title": "其他" }] }, { "title": "辽源", "children": [{ "title": "龙山区" }, { "title": "西安区" }, { "title": "东辽县" }, { "title": "东丰县" }, { "title": "其他" }] }, { "title": "通化", "children": [{ "title": "东昌区" }, { "title": "二道江区" }, { "title": "梅河口市" }, { "title": "集安市" }, { "title": "通化县" }, { "title": "辉南县" }, { "title": "柳河县" }, { "title": "其他" }] }, { "title": "白山", "children": [{ "title": "八道江区" }, { "title": "江源区" }, { "title": "临江市" }, { "title": "靖宇县" }, { "title": "抚松县" }, { "title": "长白朝鲜族自治县" }, { "title": "其他" }] }, { "title": "松原", "children": [{ "title": "宁江区" }, { "title": "乾安县" }, { "title": "长岭县" }, { "title": "扶余县" }, { "title": "前郭尔罗斯蒙古族自治县" }, { "title": "其他" }] }, { "title": "白城", "children": [{ "title": "洮北区" }, { "title": "大安市" }, { "title": "洮南市" }, { "title": "镇赉县" }, { "title": "通榆县" }, { "title": "其他" }] }, { "title": "延边朝鲜族自治州", "children": [{ "title": "延吉市" }, { "title": "图们市" }, { "title": "敦化市" }, { "title": "龙井市" }, { "title": "珲春市" }, { "title": "和龙市" }, { "title": "安图县" }, { "title": "汪清县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "黑龙江", "children": [{ "title": "哈尔滨", "children": [{ "title": "松北区" }, { "title": "道里区" }, { "title": "南岗区" }, { "title": "平房区" }, { "title": "香坊区" }, { "title": "道外区" }, { "title": "呼兰区" }, { "title": "阿城区" }, { "title": "双城市" }, { "title": "尚志市" }, { "title": "五常市" }, { "title": "宾县" }, { "title": "方正县" }, { "title": "通河县" }, { "title": "巴彦县" }, { "title": "延寿县" }, { "title": "木兰县" }, { "title": "依兰县" }, { "title": "其他" }] }, { "title": "齐齐哈尔", "children": [{ "title": "龙沙区" }, { "title": "昂昂溪区" }, { "title": "铁锋区" }, { "title": "建华区" }, { "title": "富拉尔基区" }, { "title": "碾子山区" }, { "title": "梅里斯达斡尔族区" }, { "title": "讷河市" }, { "title": "富裕县" }, { "title": "拜泉县" }, { "title": "甘南县" }, { "title": "依安县" }, { "title": "克山县" }, { "title": "泰来县" }, { "title": "克东县" }, { "title": "龙江县" }, { "title": "其他" }] }, { "title": "鹤岗", "children": [{ "title": "兴山区" }, { "title": "工农区" }, { "title": "南山区" }, { "title": "兴安区" }, { "title": "向阳区" }, { "title": "东山区" }, { "title": "萝北县" }, { "title": "绥滨县" }, { "title": "其他" }] }, { "title": "双鸭山", "children": [{ "title": "尖山区" }, { "title": "岭东区" }, { "title": "四方台区" }, { "title": "宝山区" }, { "title": "集贤县" }, { "title": "宝清县" }, { "title": "友谊县" }, { "title": "饶河县" }, { "title": "其他" }] }, { "title": "鸡西", "children": [{ "title": "鸡冠区" }, { "title": "恒山区" }, { "title": "城子河区" }, { "title": "滴道区" }, { "title": "梨树区" }, { "title": "麻山区" }, { "title": "密山市" }, { "title": "虎林市" }, { "title": "鸡东县" }, { "title": "其他" }] }, { "title": "大庆", "children": [{ "title": "萨尔图区" }, { "title": "红岗区" }, { "title": "龙凤区" }, { "title": "让胡路区" }, { "title": "大同区" }, { "title": "林甸县" }, { "title": "肇州县" }, { "title": "肇源县" }, { "title": "杜尔伯特蒙古族自治县" }, { "title": "其他" }] }, { "title": "伊春", "children": [{ "title": "伊春区" }, { "title": "带岭区" }, { "title": "南岔区" }, { "title": "金山屯区" }, { "title": "西林区" }, { "title": "美溪区" }, { "title": "乌马河区" }, { "title": "翠峦区" }, { "title": "友好区" }, { "title": "上甘岭区" }, { "title": "五营区" }, { "title": "红星区" }, { "title": "新青区" }, { "title": "汤旺河区" }, { "title": "乌伊岭区" }, { "title": "铁力市" }, { "title": "嘉荫县" }, { "title": "其他" }] }, { "title": "牡丹江", "children": [{ "title": "爱民区" }, { "title": "东安区" }, { "title": "阳明区" }, { "title": "西安区" }, { "title": "绥芬河市" }, { "title": "宁安市" }, { "title": "海林市" }, { "title": "穆棱市" }, { "title": "林口县" }, { "title": "东宁县" }, { "title": "其他" }] }, { "title": "佳木斯", "children": [{ "title": "向阳区" }, { "title": "前进区" }, { "title": "东风区" }, { "title": "郊区" }, { "title": "同江市" }, { "title": "富锦市" }, { "title": "桦川县" }, { "title": "抚远县" }, { "title": "桦南县" }, { "title": "汤原县" }, { "title": "其他" }] }, { "title": "七台河", "children": [{ "title": "桃山区" }, { "title": "新兴区" }, { "title": "茄子河区" }, { "title": "勃利县" }, { "title": "其他" }] }, { "title": "黑河", "children": [{ "title": "爱辉区" }, { "title": "北安市" }, { "title": "五大连池市" }, { "title": "逊克县" }, { "title": "嫩江县" }, { "title": "孙吴县" }, { "title": "其他" }] }, { "title": "绥化", "children": [{ "title": "北林区" }, { "title": "安达市" }, { "title": "肇东市" }, { "title": "海伦市" }, { "title": "绥棱县" }, { "title": "兰西县" }, { "title": "明水县" }, { "title": "青冈县" }, { "title": "庆安县" }, { "title": "望奎县" }, { "title": "其他" }] }, { "title": "大兴安岭地区", "children": [{ "title": "呼玛县" }, { "title": "塔河县" }, { "title": "漠河县" }, { "title": "大兴安岭辖区" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "上海", "children": [{ "title": "上海", "children": [{ "title": "黄浦区" }, { "title": "卢湾区" }, { "title": "徐汇区" }, { "title": "长宁区" }, { "title": "静安区" }, { "title": "普陀区" }, { "title": "闸北区" }, { "title": "虹口区" }, { "title": "杨浦区" }, { "title": "宝山区" }, { "title": "闵行区" }, { "title": "嘉定区" }, { "title": "松江区" }, { "title": "金山区" }, { "title": "青浦区" }, { "title": "南汇区" }, { "title": "奉贤区" }, { "title": "浦东新区" }, { "title": "崇明县" }, { "title": "其他" }] }] }, { "title": "江苏", "children": [{ "title": "南京", "children": [{ "title": "玄武区" }, { "title": "白下区" }, { "title": "秦淮区" }, { "title": "建邺区" }, { "title": "鼓楼区" }, { "title": "下关区" }, { "title": "栖霞区" }, { "title": "雨花台区" }, { "title": "浦口区" }, { "title": "江宁区" }, { "title": "六合区" }, { "title": "溧水县" }, { "title": "高淳县" }, { "title": "其他" }] }, { "title": "苏州", "children": [{ "title": "金阊区" }, { "title": "平江区" }, { "title": "沧浪区" }, { "title": "虎丘区" }, { "title": "吴中区" }, { "title": "相城区" }, { "title": "常熟市" }, { "title": "张家港市" }, { "title": "昆山市" }, { "title": "吴江市" }, { "title": "太仓市" }, { "title": "其他" }] }, { "title": "无锡", "children": [{ "title": "崇安区" }, { "title": "南长区" }, { "title": "北塘区" }, { "title": "滨湖区" }, { "title": "锡山区" }, { "title": "惠山区" }, { "title": "江阴市" }, { "title": "宜兴市" }, { "title": "其他" }] }, { "title": "常州", "children": [{ "title": "钟楼区" }, { "title": "天宁区" }, { "title": "戚墅堰区" }, { "title": "新北区" }, { "title": "武进区" }, { "title": "金坛市" }, { "title": "溧阳市" }, { "title": "其他" }] }, { "title": "镇江", "children": [{ "title": "京口区" }, { "title": "润州区" }, { "title": "丹徒区" }, { "title": "丹阳市" }, { "title": "扬中市" }, { "title": "句容市" }, { "title": "其他" }] }, { "title": "南通", "children": [{ "title": "崇川区" }, { "title": "港闸区" }, { "title": "通州市" }, { "title": "如皋市" }, { "title": "海门市" }, { "title": "启东市" }, { "title": "海安县" }, { "title": "如东县" }, { "title": "其他" }] }, { "title": "泰州", "children": [{ "title": "海陵区" }, { "title": "高港区" }, { "title": "姜堰市" }, { "title": "泰兴市" }, { "title": "靖江市" }, { "title": "兴化市" }, { "title": "其他" }] }, { "title": "扬州", "children": [{ "title": "广陵区" }, { "title": "维扬区" }, { "title": "邗江区" }, { "title": "江都市" }, { "title": "仪征市" }, { "title": "高邮市" }, { "title": "宝应县" }, { "title": "其他" }] }, { "title": "盐城", "children": [{ "title": "亭湖区" }, { "title": "盐都区" }, { "title": "大丰市" }, { "title": "东台市" }, { "title": "建湖县" }, { "title": "射阳县" }, { "title": "阜宁县" }, { "title": "滨海县" }, { "title": "响水县" }, { "title": "其他" }] }, { "title": "连云港", "children": [{ "title": "新浦区" }, { "title": "海州区" }, { "title": "连云区" }, { "title": "东海县" }, { "title": "灌云县" }, { "title": "赣榆县" }, { "title": "灌南县" }, { "title": "其他" }] }, { "title": "徐州", "children": [{ "title": "云龙区" }, { "title": "鼓楼区" }, { "title": "九里区" }, { "title": "泉山区" }, { "title": "贾汪区" }, { "title": "邳州市" }, { "title": "新沂市" }, { "title": "铜山县" }, { "title": "睢宁县" }, { "title": "沛县" }, { "title": "丰县" }, { "title": "其他" }] }, { "title": "淮安", "children": [{ "title": "清河区" }, { "title": "清浦区" }, { "title": "楚州区" }, { "title": "淮阴区" }, { "title": "涟水县" }, { "title": "洪泽县" }, { "title": "金湖县" }, { "title": "盱眙县" }, { "title": "其他" }] }, { "title": "宿迁", "children": [{ "title": "宿城区" }, { "title": "宿豫区" }, { "title": "沭阳县" }, { "title": "泗阳县" }, { "title": "泗洪县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "浙江", "children": [{ "title": "杭州", "children": [{ "title": "拱墅区" }, { "title": "西湖区" }, { "title": "上城区" }, { "title": "下城区" }, { "title": "江干区" }, { "title": "滨江区" }, { "title": "余杭区" }, { "title": "萧山区" }, { "title": "建德市" }, { "title": "富阳市" }, { "title": "临安市" }, { "title": "桐庐县" }, { "title": "淳安县" }, { "title": "其他" }] }, { "title": "宁波", "children": [{ "title": "海曙区" }, { "title": "江东区" }, { "title": "江北区" }, { "title": "镇海区" }, { "title": "北仑区" }, { "title": "鄞州区" }, { "title": "余姚市" }, { "title": "慈溪市" }, { "title": "奉化市" }, { "title": "宁海县" }, { "title": "象山县" }, { "title": "其他" }] }, { "title": "温州", "children": [{ "title": "鹿城区" }, { "title": "龙湾区" }, { "title": "瓯海区" }, { "title": "瑞安市" }, { "title": "乐清市" }, { "title": "永嘉县" }, { "title": "洞头县" }, { "title": "平阳县" }, { "title": "苍南县" }, { "title": "文成县" }, { "title": "泰顺县" }, { "title": "其他" }] }, { "title": "嘉兴", "children": [{ "title": "秀城区" }, { "title": "秀洲区" }, { "title": "海宁市" }, { "title": "平湖市" }, { "title": "桐乡市" }, { "title": "嘉善县" }, { "title": "海盐县" }, { "title": "其他" }] }, { "title": "湖州", "children": [{ "title": "吴兴区" }, { "title": "南浔区" }, { "title": "长兴县" }, { "title": "德清县" }, { "title": "安吉县" }, { "title": "其他" }] }, { "title": "绍兴", "children": [{ "title": "越城区" }, { "title": "诸暨市" }, { "title": "上虞市" }, { "title": "嵊州市" }, { "title": "绍兴县" }, { "title": "新昌县" }, { "title": "其他" }] }, { "title": "金华", "children": [{ "title": "婺城区" }, { "title": "金东区" }, { "title": "兰溪市" }, { "title": "义乌市" }, { "title": "东阳市" }, { "title": "永康市" }, { "title": "武义县" }, { "title": "浦江县" }, { "title": "磐安县" }, { "title": "其他" }] }, { "title": "衢州", "children": [{ "title": "柯城区" }, { "title": "衢江区" }, { "title": "江山市" }, { "title": "龙游县" }, { "title": "常山县" }, { "title": "开化县" }, { "title": "其他" }] }, { "title": "舟山", "children": [{ "title": "定海区" }, { "title": "普陀区" }, { "title": "岱山县" }, { "title": "嵊泗县" }, { "title": "其他" }] }, { "title": "台州", "children": [{ "title": "椒江区" }, { "title": "黄岩区" }, { "title": "路桥区" }, { "title": "临海市" }, { "title": "温岭市" }, { "title": "玉环县" }, { "title": "天台县" }, { "title": "仙居县" }, { "title": "三门县" }, { "title": "其他" }] }, { "title": "丽水", "children": [{ "title": "莲都区" }, { "title": "龙泉市" }, { "title": "缙云县" }, { "title": "青田县" }, { "title": "云和县" }, { "title": "遂昌县" }, { "title": "松阳县" }, { "title": "庆元县" }, { "title": "景宁畲族自治县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "安徽", "children": [{ "title": "合肥", "children": [{ "title": "庐阳区" }, { "title": "瑶海区" }, { "title": "蜀山区" }, { "title": "包河区" }, { "title": "长丰县" }, { "title": "肥东县" }, { "title": "肥西县" }, { "title": "其他" }] }, { "title": "芜湖", "children": [{ "title": "镜湖区" }, { "title": "弋江区" }, { "title": "鸠江区" }, { "title": "三山区" }, { "title": "芜湖县" }, { "title": "南陵县" }, { "title": "繁昌县" }, { "title": "其他" }] }, { "title": "蚌埠", "children": [{ "title": "蚌山区" }, { "title": "龙子湖区" }, { "title": "禹会区" }, { "title": "淮上区" }, { "title": "怀远县" }, { "title": "固镇县" }, { "title": "五河县" }, { "title": "其他" }] }, { "title": "淮南", "children": [{ "title": "田家庵区" }, { "title": "大通区" }, { "title": "谢家集区" }, { "title": "八公山区" }, { "title": "潘集区" }, { "title": "凤台县" }, { "title": "其他" }] }, { "title": "马鞍山", "children": [{ "title": "雨山区" }, { "title": "花山区" }, { "title": "金家庄区" }, { "title": "当涂县" }, { "title": "其他" }] }, { "title": "淮北", "children": [{ "title": "相山区" }, { "title": "杜集区" }, { "title": "烈山区" }, { "title": "濉溪县" }, { "title": "其他" }] }, { "title": "铜陵", "children": [{ "title": "铜官山区" }, { "title": "狮子山区" }, { "title": "郊区" }, { "title": "铜陵县" }, { "title": "其他" }] }, { "title": "安庆", "children": [{ "title": "迎江区" }, { "title": "大观区" }, { "title": "宜秀区" }, { "title": "桐城市" }, { "title": "宿松县" }, { "title": "枞阳县" }, { "title": "太湖县" }, { "title": "怀宁县" }, { "title": "岳西县" }, { "title": "望江县" }, { "title": "潜山县" }, { "title": "其他" }] }, { "title": "黄山", "children": [{ "title": "屯溪区" }, { "title": "黄山区" }, { "title": "徽州区" }, { "title": "休宁县" }, { "title": "歙县" }, { "title": "祁门县" }, { "title": "黟县" }, { "title": "其他" }] }, { "title": "滁州", "children": [{ "title": "琅琊区" }, { "title": "南谯区" }, { "title": "天长市" }, { "title": "明光市" }, { "title": "全椒县" }, { "title": "来安县" }, { "title": "定远县" }, { "title": "凤阳县" }, { "title": "其他" }] }, { "title": "阜阳", "children": [{ "title": "颍州区" }, { "title": "颍东区" }, { "title": "颍泉区" }, { "title": "界首市" }, { "title": "临泉县" }, { "title": "颍上县" }, { "title": "阜南县" }, { "title": "太和县" }, { "title": "其他" }] }, { "title": "宿州", "children": [{ "title": "埇桥区" }, { "title": "萧县" }, { "title": "泗县" }, { "title": "砀山县" }, { "title": "灵璧县" }, { "title": "其他" }] }, { "title": "巢湖", "children": [{ "title": "居巢区" }, { "title": "含山县" }, { "title": "无为县" }, { "title": "庐江县" }, { "title": "和县" }, { "title": "其他" }] }, { "title": "六安", "children": [{ "title": "金安区" }, { "title": "裕安区" }, { "title": "寿县" }, { "title": "霍山县" }, { "title": "霍邱县" }, { "title": "舒城县" }, { "title": "金寨县" }, { "title": "其他" }] }, { "title": "亳州", "children": [{ "title": "谯城区" }, { "title": "利辛县" }, { "title": "涡阳县" }, { "title": "蒙城县" }, { "title": "其他" }] }, { "title": "池州", "children": [{ "title": "贵池区" }, { "title": "东至县" }, { "title": "石台县" }, { "title": "青阳县" }, { "title": "其他" }] }, { "title": "宣城", "children": [{ "title": "宣州区" }, { "title": "宁国市" }, { "title": "广德县" }, { "title": "郎溪县" }, { "title": "泾县" }, { "title": "旌德县" }, { "title": "绩溪县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "福建", "children": [{ "title": "福州", "children": [{ "title": "鼓楼区" }, { "title": "台江区" }, { "title": "仓山区" }, { "title": "马尾区" }, { "title": "晋安区" }, { "title": "福清市" }, { "title": "长乐市" }, { "title": "闽侯县" }, { "title": "闽清县" }, { "title": "永泰县" }, { "title": "连江县" }, { "title": "罗源县" }, { "title": "平潭县" }, { "title": "其他" }] }, { "title": "厦门", "children": [{ "title": "思明区" }, { "title": "海沧区" }, { "title": "湖里区" }, { "title": "集美区" }, { "title": "同安区" }, { "title": "翔安区" }, { "title": "其他" }] }, { "title": "莆田", "children": [{ "title": "城厢区" }, { "title": "涵江区" }, { "title": "荔城区" }, { "title": "秀屿区" }, { "title": "仙游县" }, { "title": "其他" }] }, { "title": "三明", "children": [{ "title": "梅列区" }, { "title": "三元区" }, { "title": "永安市" }, { "title": "明溪县" }, { "title": "将乐县" }, { "title": "大田县" }, { "title": "宁化县" }, { "title": "建宁县" }, { "title": "沙县" }, { "title": "尤溪县" }, { "title": "清流县" }, { "title": "泰宁县" }, { "title": "其他" }] }, { "title": "泉州", "children": [{ "title": "鲤城区" }, { "title": "丰泽区" }, { "title": "洛江区" }, { "title": "泉港区" }, { "title": "石狮市" }, { "title": "晋江市" }, { "title": "南安市" }, { "title": "惠安县" }, { "title": "永春县" }, { "title": "安溪县" }, { "title": "德化县" }, { "title": "金门县" }, { "title": "其他" }] }, { "title": "漳州", "children": [{ "title": "芗城区" }, { "title": "龙文区" }, { "title": "龙海市" }, { "title": "平和县" }, { "title": "南靖县" }, { "title": "诏安县" }, { "title": "漳浦县" }, { "title": "华安县" }, { "title": "东山县" }, { "title": "长泰县" }, { "title": "云霄县" }, { "title": "其他" }] }, { "title": "南平", "children": [{ "title": "延平区" }, { "title": "建瓯市" }, { "title": "邵武市" }, { "title": "武夷山市" }, { "title": "建阳市" }, { "title": "松溪县" }, { "title": "光泽县" }, { "title": "顺昌县" }, { "title": "浦城县" }, { "title": "政和县" }, { "title": "其他" }] }, { "title": "龙岩", "children": [{ "title": "新罗区" }, { "title": "漳平市" }, { "title": "长汀县" }, { "title": "武平县" }, { "title": "上杭县" }, { "title": "永定县" }, { "title": "连城县" }, { "title": "其他" }] }, { "title": "宁德", "children": [{ "title": "蕉城区" }, { "title": "福安市" }, { "title": "福鼎市" }, { "title": "寿宁县" }, { "title": "霞浦县" }, { "title": "柘荣县" }, { "title": "屏南县" }, { "title": "古田县" }, { "title": "周宁县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "江西", "children": [{ "title": "南昌", "children": [{ "title": "东湖区" }, { "title": "西湖区" }, { "title": "青云谱区" }, { "title": "湾里区" }, { "title": "青山湖区" }, { "title": "新建县" }, { "title": "南昌县" }, { "title": "进贤县" }, { "title": "安义县" }, { "title": "其他" }] }, { "title": "景德镇", "children": [{ "title": "珠山区" }, { "title": "昌江区" }, { "title": "乐平市" }, { "title": "浮梁县" }, { "title": "其他" }] }, { "title": "萍乡", "children": [{ "title": "安源区" }, { "title": "湘东区" }, { "title": "莲花县" }, { "title": "上栗县" }, { "title": "芦溪县" }, { "title": "其他" }] }, { "title": "九江", "children": [{ "title": "浔阳区" }, { "title": "庐山区" }, { "title": "瑞昌市" }, { "title": "九江县" }, { "title": "星子县" }, { "title": "武宁县" }, { "title": "彭泽县" }, { "title": "永修县" }, { "title": "修水县" }, { "title": "湖口县" }, { "title": "德安县" }, { "title": "都昌县" }, { "title": "其他" }] }, { "title": "新余", "children": [{ "title": "渝水区" }, { "title": "分宜县" }, { "title": "其他" }] }, { "title": "鹰潭", "children": [{ "title": "月湖区" }, { "title": "贵溪市" }, { "title": "余江县" }, { "title": "其他" }] }, { "title": "赣州", "children": [{ "title": "章贡区" }, { "title": "瑞金市" }, { "title": "南康市" }, { "title": "石城县" }, { "title": "安远县" }, { "title": "赣县" }, { "title": "宁都县" }, { "title": "寻乌县" }, { "title": "兴国县" }, { "title": "定南县" }, { "title": "上犹县" }, { "title": "于都县" }, { "title": "龙南县" }, { "title": "崇义县" }, { "title": "信丰县" }, { "title": "全南县" }, { "title": "大余县" }, { "title": "会昌县" }, { "title": "其他" }] }, { "title": "吉安", "children": [{ "title": "吉州区" }, { "title": "青原区" }, { "title": "井冈山市" }, { "title": "吉安县" }, { "title": "永丰县" }, { "title": "永新县" }, { "title": "新干县" }, { "title": "泰和县" }, { "title": "峡江县" }, { "title": "遂川县" }, { "title": "安福县" }, { "title": "吉水县" }, { "title": "万安县" }, { "title": "其他" }] }, { "title": "宜春", "children": [{ "title": "袁州区" }, { "title": "丰城市" }, { "title": "樟树市" }, { "title": "高安市" }, { "title": "铜鼓县" }, { "title": "靖安县" }, { "title": "宜丰县" }, { "title": "奉新县" }, { "title": "万载县" }, { "title": "上高县" }, { "title": "其他" }] }, { "title": "抚州", "children": [{ "title": "临川区" }, { "title": "南丰县" }, { "title": "乐安县" }, { "title": "金溪县" }, { "title": "南城县" }, { "title": "东乡县" }, { "title": "资溪县" }, { "title": "宜黄县" }, { "title": "广昌县" }, { "title": "黎川县" }, { "title": "崇仁县" }, { "title": "其他" }] }, { "title": "上饶", "children": [{ "title": "信州区" }, { "title": "德兴市" }, { "title": "上饶县" }, { "title": "广丰县" }, { "title": "鄱阳县" }, { "title": "婺源县" }, { "title": "铅山县" }, { "title": "余干县" }, { "title": "横峰县" }, { "title": "弋阳县" }, { "title": "玉山县" }, { "title": "万年县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "山东", "children": [{ "title": "济南", "children": [{ "title": "市中区" }, { "title": "历下区" }, { "title": "天桥区" }, { "title": "槐荫区" }, { "title": "历城区" }, { "title": "长清区" }, { "title": "章丘市" }, { "title": "平阴县" }, { "title": "济阳县" }, { "title": "商河县" }, { "title": "其他" }] }, { "title": "青岛", "children": [{ "title": "市南区" }, { "title": "市北区" }, { "title": "城阳区" }, { "title": "四方区" }, { "title": "李沧区" }, { "title": "黄岛区" }, { "title": "崂山区" }, { "title": "胶南市" }, { "title": "胶州市" }, { "title": "平度市" }, { "title": "莱西市" }, { "title": "即墨市" }, { "title": "其他" }] }, { "title": "淄博", "children": [{ "title": "张店区" }, { "title": "临淄区" }, { "title": "淄川区" }, { "title": "博山区" }, { "title": "周村区" }, { "title": "桓台县" }, { "title": "高青县" }, { "title": "沂源县" }, { "title": "其他" }] }, { "title": "枣庄", "children": [{ "title": "市中区" }, { "title": "山亭区" }, { "title": "峄城区" }, { "title": "台儿庄区" }, { "title": "薛城区" }, { "title": "滕州市" }, { "title": "其他" }] }, { "title": "东营", "children": [{ "title": "东营区" }, { "title": "河口区" }, { "title": "垦利县" }, { "title": "广饶县" }, { "title": "利津县" }, { "title": "其他" }] }, { "title": "烟台", "children": [{ "title": "芝罘区" }, { "title": "福山区" }, { "title": "牟平区" }, { "title": "莱山区" }, { "title": "龙口市" }, { "title": "莱阳市" }, { "title": "莱州市" }, { "title": "招远市" }, { "title": "蓬莱市" }, { "title": "栖霞市" }, { "title": "海阳市" }, { "title": "长岛县" }, { "title": "其他" }] }, { "title": "潍坊", "children": [{ "title": "潍城区" }, { "title": "寒亭区" }, { "title": "坊子区" }, { "title": "奎文区" }, { "title": "青州市" }, { "title": "诸城市" }, { "title": "寿光市" }, { "title": "安丘市" }, { "title": "高密市" }, { "title": "昌邑市" }, { "title": "昌乐县" }, { "title": "临朐县" }, { "title": "其他" }] }, { "title": "济宁", "children": [{ "title": "市中区" }, { "title": "任城区" }, { "title": "曲阜市" }, { "title": "兖州市" }, { "title": "邹城市" }, { "title": "鱼台县" }, { "title": "金乡县" }, { "title": "嘉祥县" }, { "title": "微山县" }, { "title": "汶上县" }, { "title": "泗水县" }, { "title": "梁山县" }, { "title": "其他" }] }, { "title": "泰安", "children": [{ "title": "泰山区" }, { "title": "岱岳区" }, { "title": "新泰市" }, { "title": "肥城市" }, { "title": "宁阳县" }, { "title": "东平县" }, { "title": "其他" }] }, { "title": "威海", "children": [{ "title": "环翠区" }, { "title": "乳山市" }, { "title": "文登市" }, { "title": "荣成市" }, { "title": "其他" }] }, { "title": "日照", "children": [{ "title": "东港区" }, { "title": "岚山区" }, { "title": "五莲县" }, { "title": "莒县" }, { "title": "其他" }] }, { "title": "莱芜", "children": [{ "title": "莱城区" }, { "title": "钢城区" }, { "title": "其他" }] }, { "title": "临沂", "children": [{ "title": "兰山区" }, { "title": "罗庄区" }, { "title": "河东区" }, { "title": "沂南县" }, { "title": "郯城县" }, { "title": "沂水县" }, { "title": "苍山县" }, { "title": "费县" }, { "title": "平邑县" }, { "title": "莒南县" }, { "title": "蒙阴县" }, { "title": "临沭县" }, { "title": "其他" }] }, { "title": "德州", "children": [{ "title": "德城区" }, { "title": "乐陵市" }, { "title": "禹城市" }, { "title": "陵县" }, { "title": "宁津县" }, { "title": "齐河县" }, { "title": "武城县" }, { "title": "庆云县" }, { "title": "平原县" }, { "title": "夏津县" }, { "title": "临邑县" }, { "title": "其他" }] }, { "title": "聊城", "children": [{ "title": "东昌府区" }, { "title": "临清市" }, { "title": "高唐县" }, { "title": "阳谷县" }, { "title": "茌平县" }, { "title": "莘县" }, { "title": "东阿县" }, { "title": "冠县" }, { "title": "其他" }] }, { "title": "滨州", "children": [{ "title": "滨城区" }, { "title": "邹平县" }, { "title": "沾化县" }, { "title": "惠民县" }, { "title": "博兴县" }, { "title": "阳信县" }, { "title": "无棣县" }, { "title": "其他" }] }, { "title": "菏泽", "children": [{ "title": "牡丹区" }, { "title": "鄄城县" }, { "title": "单县" }, { "title": "郓城县" }, { "title": "曹县" }, { "title": "定陶县" }, { "title": "巨野县" }, { "title": "东明县" }, { "title": "成武县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "河南", "children": [{ "title": "郑州", "children": [{ "title": "中原区" }, { "title": "金水区" }, { "title": "二七区" }, { "title": "管城回族区" }, { "title": "上街区" }, { "title": "惠济区" }, { "title": "巩义市" }, { "title": "新郑市" }, { "title": "新密市" }, { "title": "登封市" }, { "title": "荥阳市" }, { "title": "中牟县" }, { "title": "其他" }] }, { "title": "开封", "children": [{ "title": "鼓楼区" }, { "title": "龙亭区" }, { "title": "顺河回族区" }, { "title": "禹王台区" }, { "title": "金明区" }, { "title": "开封县" }, { "title": "尉氏县" }, { "title": "兰考县" }, { "title": "杞县" }, { "title": "通许县" }, { "title": "其他" }] }, { "title": "洛阳", "children": [{ "title": "西工区" }, { "title": "老城区" }, { "title": "涧西区" }, { "title": "瀍河回族区" }, { "title": "洛龙区" }, { "title": "吉利区" }, { "title": "偃师市" }, { "title": "孟津县" }, { "title": "汝阳县" }, { "title": "伊川县" }, { "title": "洛宁县" }, { "title": "嵩县" }, { "title": "宜阳县" }, { "title": "新安县" }, { "title": "栾川县" }, { "title": "其他" }] }, { "title": "平顶山", "children": [{ "title": "新华区" }, { "title": "卫东区" }, { "title": "湛河区" }, { "title": "石龙区" }, { "title": "汝州市" }, { "title": "舞钢市" }, { "title": "宝丰县" }, { "title": "叶县" }, { "title": "郏县" }, { "title": "鲁山县" }, { "title": "其他" }] }, { "title": "安阳", "children": [{ "title": "北关区" }, { "title": "文峰区" }, { "title": "殷都区" }, { "title": "龙安区" }, { "title": "林州市" }, { "title": "安阳县" }, { "title": "滑县" }, { "title": "内黄县" }, { "title": "汤阴县" }, { "title": "其他" }] }, { "title": "鹤壁", "children": [{ "title": "淇滨区" }, { "title": "山城区" }, { "title": "鹤山区" }, { "title": "浚县" }, { "title": "淇县" }, { "title": "其他" }] }, { "title": "新乡", "children": [{ "title": "卫滨区" }, { "title": "红旗区" }, { "title": "凤泉区" }, { "title": "牧野区" }, { "title": "卫辉市" }, { "title": "辉县市" }, { "title": "新乡县" }, { "title": "获嘉县" }, { "title": "原阳县" }, { "title": "长垣县" }, { "title": "封丘县" }, { "title": "延津县" }, { "title": "其他" }] }, { "title": "焦作", "children": [{ "title": "解放区" }, { "title": "中站区" }, { "title": "马村区" }, { "title": "山阳区" }, { "title": "沁阳市" }, { "title": "孟州市" }, { "title": "修武县" }, { "title": "温县" }, { "title": "武陟县" }, { "title": "博爱县" }, { "title": "其他" }] }, { "title": "濮阳", "children": [{ "title": "华龙区" }, { "title": "濮阳县" }, { "title": "南乐县" }, { "title": "台前县" }, { "title": "清丰县" }, { "title": "范县" }, { "title": "其他" }] }, { "title": "许昌", "children": [{ "title": "魏都区" }, { "title": "禹州市" }, { "title": "长葛市" }, { "title": "许昌县" }, { "title": "鄢陵县" }, { "title": "襄城县" }, { "title": "其他" }] }, { "title": "漯河", "children": [{ "title": "源汇区" }, { "title": "郾城区" }, { "title": "召陵区" }, { "title": "临颍县" }, { "title": "舞阳县" }, { "title": "其他" }] }, { "title": "三门峡", "children": [{ "title": "湖滨区" }, { "title": "义马市" }, { "title": "灵宝市" }, { "title": "渑池县" }, { "title": "卢氏县" }, { "title": "陕县" }, { "title": "其他" }] }, { "title": "南阳", "children": [{ "title": "卧龙区" }, { "title": "宛城区" }, { "title": "邓州市" }, { "title": "桐柏县" }, { "title": "方城县" }, { "title": "淅川县" }, { "title": "镇平县" }, { "title": "唐河县" }, { "title": "南召县" }, { "title": "内乡县" }, { "title": "新野县" }, { "title": "社旗县" }, { "title": "西峡县" }, { "title": "其他" }] }, { "title": "商丘", "children": [{ "title": "梁园区" }, { "title": "睢阳区" }, { "title": "永城市" }, { "title": "宁陵县" }, { "title": "虞城县" }, { "title": "民权县" }, { "title": "夏邑县" }, { "title": "柘城县" }, { "title": "睢县" }, { "title": "其他" }] }, { "title": "信阳", "children": [{ "title": "浉河区" }, { "title": "平桥区" }, { "title": "潢川县" }, { "title": "淮滨县" }, { "title": "息县" }, { "title": "新县" }, { "title": "商城县" }, { "title": "固始县" }, { "title": "罗山县" }, { "title": "光山县" }, { "title": "其他" }] }, { "title": "周口", "children": [{ "title": "川汇区" }, { "title": "项城市" }, { "title": "商水县" }, { "title": "淮阳县" }, { "title": "太康县" }, { "title": "鹿邑县" }, { "title": "西华县" }, { "title": "扶沟县" }, { "title": "沈丘县" }, { "title": "郸城县" }, { "title": "其他" }] }, { "title": "驻马店", "children": [{ "title": "驿城区" }, { "title": "确山县" }, { "title": "新蔡县" }, { "title": "上蔡县" }, { "title": "西平县" }, { "title": "泌阳县" }, { "title": "平舆县" }, { "title": "汝南县" }, { "title": "遂平县" }, { "title": "正阳县" }, { "title": "其他" }] }, { "title": "焦作", "children": [{ "title": "济源市" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "湖北", "children": [{ "title": "武汉", "children": [{ "title": "江岸区" }, { "title": "武昌区" }, { "title": "江汉区" }, { "title": "硚口区" }, { "title": "汉阳区" }, { "title": "青山区" }, { "title": "洪山区" }, { "title": "东西湖区" }, { "title": "汉南区" }, { "title": "蔡甸区" }, { "title": "江夏区" }, { "title": "黄陂区" }, { "title": "新洲区" }, { "title": "其他" }] }, { "title": "黄石", "children": [{ "title": "黄石港区" }, { "title": "西塞山区" }, { "title": "下陆区" }, { "title": "铁山区" }, { "title": "大冶市" }, { "title": "阳新县" }, { "title": "其他" }] }, { "title": "十堰", "children": [{ "title": "张湾区" }, { "title": "茅箭区" }, { "title": "丹江口市" }, { "title": "郧县" }, { "title": "竹山县" }, { "title": "房县" }, { "title": "郧西县" }, { "title": "竹溪县" }, { "title": "其他" }] }, { "title": "荆州", "children": [{ "title": "沙市区" }, { "title": "荆州区" }, { "title": "洪湖市" }, { "title": "石首市" }, { "title": "松滋市" }, { "title": "监利县" }, { "title": "公安县" }, { "title": "江陵县" }, { "title": "其他" }] }, { "title": "宜昌", "children": [{ "title": "西陵区" }, { "title": "伍家岗区" }, { "title": "点军区" }, { "title": "猇亭区" }, { "title": "夷陵区" }, { "title": "宜都市" }, { "title": "当阳市" }, { "title": "枝江市" }, { "title": "秭归县" }, { "title": "远安县" }, { "title": "兴山县" }, { "title": "五峰土家族自治县" }, { "title": "长阳土家族自治县" }, { "title": "其他" }] }, { "title": "襄樊", "children": [{ "title": "襄城区" }, { "title": "樊城区" }, { "title": "襄阳区" }, { "title": "老河口市" }, { "title": "枣阳市" }, { "title": "宜城市" }, { "title": "南漳县" }, { "title": "谷城县" }, { "title": "保康县" }, { "title": "其他" }] }, { "title": "鄂州", "children": [{ "title": "鄂城区" }, { "title": "华容区" }, { "title": "梁子湖区" }, { "title": "其他" }] }, { "title": "荆门", "children": [{ "title": "东宝区" }, { "title": "掇刀区" }, { "title": "钟祥市" }, { "title": "京山县" }, { "title": "沙洋县" }, { "title": "其他" }] }, { "title": "孝感", "children": [{ "title": "孝南区" }, { "title": "应城市" }, { "title": "安陆市" }, { "title": "汉川市" }, { "title": "云梦县" }, { "title": "大悟县" }, { "title": "孝昌县" }, { "title": "其他" }] }, { "title": "黄冈", "children": [{ "title": "黄州区" }, { "title": "麻城市" }, { "title": "武穴市" }, { "title": "红安县" }, { "title": "罗田县" }, { "title": "浠水县" }, { "title": "蕲春县" }, { "title": "黄梅县" }, { "title": "英山县" }, { "title": "团风县" }, { "title": "其他" }] }, { "title": "咸宁", "children": [{ "title": "咸安区" }, { "title": "赤壁市" }, { "title": "嘉鱼县" }, { "title": "通山县" }, { "title": "崇阳县" }, { "title": "通城县" }, { "title": "其他" }] }, { "title": "随州", "children": [{ "title": "曾都区" }, { "title": "广水市" }, { "title": "其他" }] }, { "title": "恩施土家族苗族自治州", "children": [{ "title": "恩施市" }, { "title": "利川市" }, { "title": "建始县" }, { "title": "来凤县" }, { "title": "巴东县" }, { "title": "鹤峰县" }, { "title": "宣恩县" }, { "title": "咸丰县" }, { "title": "其他" }] }, { "title": "仙桃", "children": [{ "title": "仙桃" }] }, { "title": "天门", "children": [{ "title": "天门" }] }, { "title": "潜江", "children": [{ "title": "潜江" }] }, { "title": "神农架林区", "children": [{ "title": "神农架林区" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "湖南", "children": [{ "title": "长沙", "children": [{ "title": "岳麓区" }, { "title": "芙蓉区" }, { "title": "天心区" }, { "title": "开福区" }, { "title": "雨花区" }, { "title": "浏阳市" }, { "title": "长沙县" }, { "title": "望城县" }, { "title": "宁乡县" }, { "title": "其他" }] }, { "title": "株洲", "children": [{ "title": "天元区" }, { "title": "荷塘区" }, { "title": "芦淞区" }, { "title": "石峰区" }, { "title": "醴陵市" }, { "title": "株洲县" }, { "title": "炎陵县" }, { "title": "茶陵县" }, { "title": "攸县" }, { "title": "其他" }] }, { "title": "湘潭", "children": [{ "title": "岳塘区" }, { "title": "雨湖区" }, { "title": "湘乡市" }, { "title": "韶山市" }, { "title": "湘潭县" }, { "title": "其他" }] }, { "title": "衡阳", "children": [{ "title": "雁峰区" }, { "title": "珠晖区" }, { "title": "石鼓区" }, { "title": "蒸湘区" }, { "title": "南岳区" }, { "title": "耒阳市" }, { "title": "常宁市" }, { "title": "衡阳县" }, { "title": "衡东县" }, { "title": "衡山县" }, { "title": "衡南县" }, { "title": "祁东县" }, { "title": "其他" }] }, { "title": "邵阳", "children": [{ "title": "双清区" }, { "title": "大祥区" }, { "title": "北塔区" }, { "title": "武冈市" }, { "title": "邵东县" }, { "title": "洞口县" }, { "title": "新邵县" }, { "title": "绥宁县" }, { "title": "新宁县" }, { "title": "邵阳县" }, { "title": "隆回县" }, { "title": "城步苗族自治县" }, { "title": "其他" }] }, { "title": "岳阳", "children": [{ "title": "岳阳楼区" }, { "title": "云溪区" }, { "title": "君山区" }, { "title": "临湘市" }, { "title": "汨罗市" }, { "title": "岳阳县" }, { "title": "湘阴县" }, { "title": "平江县" }, { "title": "华容县" }, { "title": "其他" }] }, { "title": "常德", "children": [{ "title": "武陵区" }, { "title": "鼎城区" }, { "title": "津市市" }, { "title": "澧县" }, { "title": "临澧县" }, { "title": "桃源县" }, { "title": "汉寿县" }, { "title": "安乡县" }, { "title": "石门县" }, { "title": "其他" }] }, { "title": "张家界", "children": [{ "title": "永定区" }, { "title": "武陵源区" }, { "title": "慈利县" }, { "title": "桑植县" }, { "title": "其他" }] }, { "title": "益阳", "children": [{ "title": "赫山区" }, { "title": "资阳区" }, { "title": "沅江市" }, { "title": "桃江县" }, { "title": "南县" }, { "title": "安化县" }, { "title": "其他" }] }, { "title": "郴州", "children": [{ "title": "北湖区" }, { "title": "苏仙区" }, { "title": "资兴市" }, { "title": "宜章县" }, { "title": "汝城县" }, { "title": "安仁县" }, { "title": "嘉禾县" }, { "title": "临武县" }, { "title": "桂东县" }, { "title": "永兴县" }, { "title": "桂阳县" }, { "title": "其他" }] }, { "title": "永州", "children": [{ "title": "冷水滩区" }, { "title": "零陵区" }, { "title": "祁阳县" }, { "title": "蓝山县" }, { "title": "宁远县" }, { "title": "新田县" }, { "title": "东安县" }, { "title": "江永县" }, { "title": "道县" }, { "title": "双牌县" }, { "title": "江华瑶族自治县" }, { "title": "其他" }] }, { "title": "怀化", "children": [{ "title": "鹤城区" }, { "title": "洪江市" }, { "title": "会同县" }, { "title": "沅陵县" }, { "title": "辰溪县" }, { "title": "溆浦县" }, { "title": "中方县" }, { "title": "新晃侗族自治县" }, { "title": "芷江侗族自治县" }, { "title": "通道侗族自治县" }, { "title": "靖州苗族侗族自治县" }, { "title": "麻阳苗族自治县" }, { "title": "其他" }] }, { "title": "娄底", "children": [{ "title": "娄星区" }, { "title": "冷水江市" }, { "title": "涟源市" }, { "title": "新化县" }, { "title": "双峰县" }, { "title": "其他" }] }, { "title": "湘西土家族苗族自治州", "children": [{ "title": "吉首市" }, { "title": "古丈县" }, { "title": "龙山县" }, { "title": "永顺县" }, { "title": "凤凰县" }, { "title": "泸溪县" }, { "title": "保靖县" }, { "title": "花垣县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "广东", "children": [{ "title": "广州", "children": [{ "title": "越秀区" }, { "title": "荔湾区" }, { "title": "海珠区" }, { "title": "天河区" }, { "title": "白云区" }, { "title": "黄埔区" }, { "title": "番禺区" }, { "title": "花都区" }, { "title": "南沙区" }, { "title": "萝岗区" }, { "title": "增城市" }, { "title": "从化市" }, { "title": "其他" }] }, { "title": "深圳", "children": [{ "title": "福田区" }, { "title": "罗湖区" }, { "title": "南山区" }, { "title": "宝安区" }, { "title": "龙岗区" }, { "title": "盐田区" }, { "title": "其他" }] }, { "title": "东莞", "children": [{ "title": "莞城" }, { "title": "常平" }, { "title": "塘厦" }, { "title": "塘厦" }, { "title": "塘厦" }, { "title": "其他" }] }, { "title": "中山", "children": [{ "title": "中山" }] }, { "title": "潮州", "children": [{ "title": "湘桥区" }, { "title": "潮安县" }, { "title": "饶平县" }, { "title": "其他" }] }, { "title": "揭阳", "children": [{ "title": "榕城区" }, { "title": "揭东县" }, { "title": "揭西县" }, { "title": "惠来县" }, { "title": "普宁市" }, { "title": "其他" }] }, { "title": "云浮", "children": [{ "title": "云城区" }, { "title": "新兴县" }, { "title": "郁南县" }, { "title": "云安县" }, { "title": "罗定市" }, { "title": "其他" }] }, { "title": "珠海", "children": [{ "title": "香洲区" }, { "title": "斗门区" }, { "title": "金湾区" }, { "title": "其他" }] }, { "title": "汕头", "children": [{ "title": "金平区" }, { "title": "濠江区" }, { "title": "龙湖区" }, { "title": "潮阳区" }, { "title": "潮南区" }, { "title": "澄海区" }, { "title": "南澳县" }, { "title": "其他" }] }, { "title": "韶关", "children": [{ "title": "浈江区" }, { "title": "武江区" }, { "title": "曲江区" }, { "title": "乐昌市" }, { "title": "南雄市" }, { "title": "始兴县" }, { "title": "仁化县" }, { "title": "翁源县" }, { "title": "新丰县" }, { "title": "乳源瑶族自治县" }, { "title": "其他" }] }, { "title": "佛山", "children": [{ "title": "禅城区" }, { "title": "南海区" }, { "title": "顺德区" }, { "title": "三水区" }, { "title": "高明区" }, { "title": "其他" }] }, { "title": "江门", "children": [{ "title": "蓬江区" }, { "title": "江海区" }, { "title": "新会区" }, { "title": "恩平市" }, { "title": "台山市" }, { "title": "开平市" }, { "title": "鹤山市" }, { "title": "其他" }] }, { "title": "湛江", "children": [{ "title": "赤坎区" }, { "title": "霞山区" }, { "title": "坡头区" }, { "title": "麻章区" }, { "title": "吴川市" }, { "title": "廉江市" }, { "title": "雷州市" }, { "title": "遂溪县" }, { "title": "徐闻县" }, { "title": "其他" }] }, { "title": "茂名", "children": [{ "title": "茂南区" }, { "title": "茂港区" }, { "title": "化州市" }, { "title": "信宜市" }, { "title": "高州市" }, { "title": "电白县" }, { "title": "其他" }] }, { "title": "肇庆", "children": [{ "title": "端州区" }, { "title": "鼎湖区" }, { "title": "高要市" }, { "title": "四会市" }, { "title": "广宁县" }, { "title": "怀集县" }, { "title": "封开县" }, { "title": "德庆县" }, { "title": "其他" }] }, { "title": "惠州", "children": [{ "title": "惠城区" }, { "title": "惠阳区" }, { "title": "博罗县" }, { "title": "惠东县" }, { "title": "龙门县" }, { "title": "其他" }] }, { "title": "梅州", "children": [{ "title": "梅江区" }, { "title": "兴宁市" }, { "title": "梅县" }, { "title": "大埔县" }, { "title": "丰顺县" }, { "title": "五华县" }, { "title": "平远县" }, { "title": "蕉岭县" }, { "title": "其他" }] }, { "title": "汕尾", "children": [{ "title": "城区" }, { "title": "陆丰市" }, { "title": "海丰县" }, { "title": "陆河县" }, { "title": "其他" }] }, { "title": "河源", "children": [{ "title": "源城区" }, { "title": "紫金县" }, { "title": "龙川县" }, { "title": "连平县" }, { "title": "和平县" }, { "title": "东源县" }, { "title": "其他" }] }, { "title": "阳江", "children": [{ "title": "江城区" }, { "title": "阳春市" }, { "title": "阳西县" }, { "title": "阳东县" }, { "title": "其他" }] }, { "title": "清远", "children": [{ "title": "清城区" }, { "title": "英德市" }, { "title": "连州市" }, { "title": "佛冈县" }, { "title": "阳山县" }, { "title": "清新县" }, { "title": "连山壮族瑶族自治县" }, { "title": "连南瑶族自治县" }, { "title": "其他" }] }] }, { "title": "广西", "children": [{ "title": "南宁", "children": [{ "title": "青秀区" }, { "title": "兴宁区" }, { "title": "西乡塘区" }, { "title": "良庆区" }, { "title": "江南区" }, { "title": "邕宁区" }, { "title": "武鸣县" }, { "title": "隆安县" }, { "title": "马山县" }, { "title": "上林县" }, { "title": "宾阳县" }, { "title": "横县" }, { "title": "其他" }] }, { "title": "柳州", "children": [{ "title": "城中区" }, { "title": "鱼峰区" }, { "title": "柳北区" }, { "title": "柳南区" }, { "title": "柳江县" }, { "title": "柳城县" }, { "title": "鹿寨县" }, { "title": "融安县" }, { "title": "融水苗族自治县" }, { "title": "三江侗族自治县" }, { "title": "其他" }] }, { "title": "桂林", "children": [{ "title": "象山区" }, { "title": "秀峰区" }, { "title": "叠彩区" }, { "title": "七星区" }, { "title": "雁山区" }, { "title": "阳朔县" }, { "title": "临桂县" }, { "title": "灵川县" }, { "title": "全州县" }, { "title": "平乐县" }, { "title": "兴安县" }, { "title": "灌阳县" }, { "title": "荔浦县" }, { "title": "资源县" }, { "title": "永福县" }, { "title": "龙胜各族自治县" }, { "title": "恭城瑶族自治县" }, { "title": "其他" }] }, { "title": "梧州", "children": [{ "title": "万秀区" }, { "title": "蝶山区" }, { "title": "长洲区" }, { "title": "岑溪市" }, { "title": "苍梧县" }, { "title": "藤县" }, { "title": "蒙山县" }, { "title": "其他" }] }, { "title": "北海", "children": [{ "title": "海城区" }, { "title": "银海区" }, { "title": "铁山港区" }, { "title": "合浦县" }, { "title": "其他" }] }, { "title": "防城港", "children": [{ "title": "港口区" }, { "title": "防城区" }, { "title": "东兴市" }, { "title": "上思县" }, { "title": "其他" }] }, { "title": "钦州", "children": [{ "title": "钦南区" }, { "title": "钦北区" }, { "title": "灵山县" }, { "title": "浦北县" }, { "title": "其他" }] }, { "title": "贵港", "children": [{ "title": "港北区" }, { "title": "港南区" }, { "title": "覃塘区" }, { "title": "桂平市" }, { "title": "平南县" }, { "title": "其他" }] }, { "title": "玉林", "children": [{ "title": "玉州区" }, { "title": "北流市" }, { "title": "容县" }, { "title": "陆川县" }, { "title": "博白县" }, { "title": "兴业县" }, { "title": "其他" }] }, { "title": "百色", "children": [{ "title": "右江区" }, { "title": "凌云县" }, { "title": "平果县" }, { "title": "西林县" }, { "title": "乐业县" }, { "title": "德保县" }, { "title": "田林县" }, { "title": "田阳县" }, { "title": "靖西县" }, { "title": "田东县" }, { "title": "那坡县" }, { "title": "隆林各族自治县" }, { "title": "其他" }] }, { "title": "贺州", "children": [{ "title": "八步区" }, { "title": "钟山县" }, { "title": "昭平县" }, { "title": "富川瑶族自治县" }, { "title": "其他" }] }, { "title": "河池", "children": [{ "title": "金城江区" }, { "title": "宜州市" }, { "title": "天峨县" }, { "title": "凤山县" }, { "title": "南丹县" }, { "title": "东兰县" }, { "title": "都安瑶族自治县" }, { "title": "罗城仫佬族自治县" }, { "title": "巴马瑶族自治县" }, { "title": "环江毛南族自治县" }, { "title": "大化瑶族自治县" }, { "title": "其他" }] }, { "title": "来宾", "children": [{ "title": "兴宾区" }, { "title": "合山市" }, { "title": "象州县" }, { "title": "武宣县" }, { "title": "忻城县" }, { "title": "金秀瑶族自治县" }, { "title": "其他" }] }, { "title": "崇左", "children": [{ "title": "江州区" }, { "title": "凭祥市" }, { "title": "宁明县" }, { "title": "扶绥县" }, { "title": "龙州县" }, { "title": "大新县" }, { "title": "天等县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "海南", "children": [{ "title": "海口", "children": [{ "title": "龙华区" }, { "title": "秀英区" }, { "title": "琼山区" }, { "title": "美兰区" }, { "title": "其他" }] }, { "title": "三亚", "children": [{ "title": "三亚市" }, { "title": "其他" }] }, { "title": "五指山", "children": [{ "title": "五指山" }] }, { "title": "琼海", "children": [{ "title": "琼海" }] }, { "title": "儋州", "children": [{ "title": "儋州" }] }, { "title": "文昌", "children": [{ "title": "文昌" }] }, { "title": "万宁", "children": [{ "title": "万宁" }] }, { "title": "东方", "children": [{ "title": "东方" }] }, { "title": "澄迈县", "children": [{ "title": "澄迈县" }] }, { "title": "定安县", "children": [{ "title": "定安县" }] }, { "title": "屯昌县", "children": [{ "title": "屯昌县" }] }, { "title": "临高县", "children": [{ "title": "临高县" }] }, { "title": "白沙黎族自治县", "children": [{ "title": "白沙黎族自治县" }] }, { "title": "昌江黎族自治县", "children": [{ "title": "昌江黎族自治县" }] }, { "title": "乐东黎族自治县", "children": [{ "title": "乐东黎族自治县" }] }, { "title": "陵水黎族自治县", "children": [{ "title": "陵水黎族自治县" }] }, { "title": "保亭黎族苗族自治县", "children": [{ "title": "保亭黎族苗族自治县" }] }, { "title": "琼中黎族苗族自治县", "children": [{ "title": "琼中黎族苗族自治县" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "重庆", "children": [{ "title": "重庆", "children": [{ "title": "渝中区" }, { "title": "大渡口区" }, { "title": "江北区" }, { "title": "南岸区" }, { "title": "北碚区" }, { "title": "渝北区" }, { "title": "巴南区" }, { "title": "长寿区" }, { "title": "双桥区" }, { "title": "沙坪坝区" }, { "title": "万盛区" }, { "title": "万州区" }, { "title": "涪陵区" }, { "title": "黔江区" }, { "title": "永川区" }, { "title": "合川区" }, { "title": "江津区" }, { "title": "九龙坡区" }, { "title": "南川区" }, { "title": "綦江县" }, { "title": "潼南县" }, { "title": "荣昌县" }, { "title": "璧山县" }, { "title": "大足县" }, { "title": "铜梁县" }, { "title": "梁平县" }, { "title": "开县" }, { "title": "忠县" }, { "title": "城口县" }, { "title": "垫江县" }, { "title": "武隆县" }, { "title": "丰都县" }, { "title": "奉节县" }, { "title": "云阳县" }, { "title": "巫溪县" }, { "title": "巫山县" }, { "title": "石柱土家族自治县" }, { "title": "秀山土家族苗族自治县" }, { "title": "酉阳土家族苗族自治县" }, { "title": "彭水苗族土家族自治县" }, { "title": "其他" }] }] }, { "title": "四川", "children": [{ "title": "成都", "children": [{ "title": "青羊区" }, { "title": "锦江区" }, { "title": "金牛区" }, { "title": "武侯区" }, { "title": "成华区" }, { "title": "龙泉驿区" }, { "title": "青白江区" }, { "title": "新都区" }, { "title": "温江区" }, { "title": "都江堰市" }, { "title": "彭州市" }, { "title": "邛崃市" }, { "title": "崇州市" }, { "title": "金堂县" }, { "title": "郫县" }, { "title": "新津县" }, { "title": "双流县" }, { "title": "蒲江县" }, { "title": "大邑县" }, { "title": "其他" }] }, { "title": "自贡", "children": [{ "title": "大安区" }, { "title": "自流井区" }, { "title": "贡井区" }, { "title": "沿滩区" }, { "title": "荣县" }, { "title": "富顺县" }, { "title": "其他" }] }, { "title": "攀枝花", "children": [{ "title": "仁和区" }, { "title": "米易县" }, { "title": "盐边县" }, { "title": "东区" }, { "title": "西区" }, { "title": "其他" }] }, { "title": "泸州", "children": [{ "title": "江阳区" }, { "title": "纳溪区" }, { "title": "龙马潭区" }, { "title": "泸县" }, { "title": "合江县" }, { "title": "叙永县" }, { "title": "古蔺县" }, { "title": "其他" }] }, { "title": "德阳", "children": [{ "title": "旌阳区" }, { "title": "广汉市" }, { "title": "什邡市" }, { "title": "绵竹市" }, { "title": "罗江县" }, { "title": "中江县" }, { "title": "其他" }] }, { "title": "绵阳", "children": [{ "title": "涪城区" }, { "title": "游仙区" }, { "title": "江油市" }, { "title": "盐亭县" }, { "title": "三台县" }, { "title": "平武县" }, { "title": "安县" }, { "title": "梓潼县" }, { "title": "北川羌族自治县" }, { "title": "其他" }] }, { "title": "广元", "children": [{ "title": "元坝区" }, { "title": "朝天区" }, { "title": "青川县" }, { "title": "旺苍县" }, { "title": "剑阁县" }, { "title": "苍溪县" }, { "title": "市中区" }, { "title": "其他" }] }, { "title": "遂宁", "children": [{ "title": "船山区" }, { "title": "安居区" }, { "title": "射洪县" }, { "title": "蓬溪县" }, { "title": "大英县" }, { "title": "其他" }] }, { "title": "内江", "children": [{ "title": "市中区" }, { "title": "东兴区" }, { "title": "资中县" }, { "title": "隆昌县" }, { "title": "威远县" }, { "title": "其他" }] }, { "title": "乐山", "children": [{ "title": "市中区" }, { "title": "五通桥区" }, { "title": "沙湾区" }, { "title": "金口河区" }, { "title": "峨眉山市" }, { "title": "夹江县" }, { "title": "井研县" }, { "title": "犍为县" }, { "title": "沐川县" }, { "title": "马边彝族自治县" }, { "title": "峨边彝族自治县" }, { "title": "其他" }] }, { "title": "南充", "children": [{ "title": "顺庆区" }, { "title": "高坪区" }, { "title": "嘉陵区" }, { "title": "阆中市" }, { "title": "营山县" }, { "title": "蓬安县" }, { "title": "仪陇县" }, { "title": "南部县" }, { "title": "西充县" }, { "title": "其他" }] }, { "title": "眉山", "children": [{ "title": "东坡区" }, { "title": "仁寿县" }, { "title": "彭山县" }, { "title": "洪雅县" }, { "title": "丹棱县" }, { "title": "青神县" }, { "title": "其他" }] }, { "title": "宜宾", "children": [{ "title": "翠屏区" }, { "title": "宜宾县" }, { "title": "兴文县" }, { "title": "南溪县" }, { "title": "珙县" }, { "title": "长宁县" }, { "title": "高县" }, { "title": "江安县" }, { "title": "筠连县" }, { "title": "屏山县" }, { "title": "其他" }] }, { "title": "广安", "children": [{ "title": "广安区" }, { "title": "华蓥市" }, { "title": "岳池县" }, { "title": "邻水县" }, { "title": "武胜县" }, { "title": "其他" }] }, { "title": "达州", "children": [{ "title": "通川区" }, { "title": "万源市" }, { "title": "达县" }, { "title": "渠县" }, { "title": "宣汉县" }, { "title": "开江县" }, { "title": "大竹县" }, { "title": "其他" }] }, { "title": "雅安", "children": [{ "title": "雨城区" }, { "title": "芦山县" }, { "title": "石棉县" }, { "title": "名山县" }, { "title": "天全县" }, { "title": "荥经县" }, { "title": "宝兴县" }, { "title": "汉源县" }, { "title": "其他" }] }, { "title": "巴中", "children": [{ "title": "巴州区" }, { "title": "南江县" }, { "title": "平昌县" }, { "title": "通江县" }, { "title": "其他" }] }, { "title": "资阳", "children": [{ "title": "雁江区" }, { "title": "简阳市" }, { "title": "安岳县" }, { "title": "乐至县" }, { "title": "其他" }] }, { "title": "阿坝藏族羌族自治州", "children": [{ "title": "马尔康县" }, { "title": "九寨沟县" }, { "title": "红原县" }, { "title": "汶川县" }, { "title": "阿坝县" }, { "title": "理县" }, { "title": "若尔盖县" }, { "title": "小金县" }, { "title": "黑水县" }, { "title": "金川县" }, { "title": "松潘县" }, { "title": "壤塘县" }, { "title": "茂县" }, { "title": "其他" }] }, { "title": "甘孜藏族自治州", "children": [{ "title": "康定县" }, { "title": "丹巴县" }, { "title": "炉霍县" }, { "title": "九龙县" }, { "title": "甘孜县" }, { "title": "雅江县" }, { "title": "新龙县" }, { "title": "道孚县" }, { "title": "白玉县" }, { "title": "理塘县" }, { "title": "德格县" }, { "title": "乡城县" }, { "title": "石渠县" }, { "title": "稻城县" }, { "title": "色达县" }, { "title": "巴塘县" }, { "title": "泸定县" }, { "title": "得荣县" }, { "title": "其他" }] }, { "title": "凉山彝族自治州", "children": [{ "title": "西昌市" }, { "title": "美姑县" }, { "title": "昭觉县" }, { "title": "金阳县" }, { "title": "甘洛县" }, { "title": "布拖县" }, { "title": "雷波县" }, { "title": "普格县" }, { "title": "宁南县" }, { "title": "喜德县" }, { "title": "会东县" }, { "title": "越西县" }, { "title": "会理县" }, { "title": "盐源县" }, { "title": "德昌县" }, { "title": "冕宁县" }, { "title": "木里藏族自治县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "贵州", "children": [{ "title": "贵阳", "children": [{ "title": "南明区" }, { "title": "云岩区" }, { "title": "花溪区" }, { "title": "乌当区" }, { "title": "白云区" }, { "title": "小河区" }, { "title": "清镇市" }, { "title": "开阳县" }, { "title": "修文县" }, { "title": "息烽县" }, { "title": "其他" }] }, { "title": "六盘水", "children": [{ "title": "钟山区" }, { "title": "水城县" }, { "title": "盘县" }, { "title": "六枝特区" }, { "title": "其他" }] }, { "title": "遵义", "children": [{ "title": "红花岗区" }, { "title": "汇川区" }, { "title": "赤水市" }, { "title": "仁怀市" }, { "title": "遵义县" }, { "title": "绥阳县" }, { "title": "桐梓县" }, { "title": "习水县" }, { "title": "凤冈县" }, { "title": "正安县" }, { "title": "余庆县" }, { "title": "湄潭县" }, { "title": "道真仡佬族苗族自治县" }, { "title": "务川仡佬族苗族自治县" }, { "title": "其他" }] }, { "title": "安顺", "children": [{ "title": "西秀区" }, { "title": "普定县" }, { "title": "平坝县" }, { "title": "镇宁布依族苗族自治县" }, { "title": "紫云苗族布依族自治县" }, { "title": "关岭布依族苗族自治县" }, { "title": "其他" }] }, { "title": "铜仁地区", "children": [{ "title": "铜仁市" }, { "title": "德江县" }, { "title": "江口县" }, { "title": "思南县" }, { "title": "石阡县" }, { "title": "玉屏侗族自治县" }, { "title": "松桃苗族自治县" }, { "title": "印江土家族苗族自治县" }, { "title": "沿河土家族自治县" }, { "title": "万山特区" }, { "title": "其他" }] }, { "title": "毕节地区", "children": [{ "title": "毕节市" }, { "title": "黔西县" }, { "title": "大方县" }, { "title": "织金县" }, { "title": "金沙县" }, { "title": "赫章县" }, { "title": "纳雍县" }, { "title": "威宁彝族回族苗族自治县" }, { "title": "其他" }] }, { "title": "黔西南布依族苗族自治州", "children": [{ "title": "兴义市" }, { "title": "望谟县" }, { "title": "兴仁县" }, { "title": "普安县" }, { "title": "册亨县" }, { "title": "晴隆县" }, { "title": "贞丰县" }, { "title": "安龙县" }, { "title": "其他" }] }, { "title": "黔东南苗族侗族自治州", "children": [{ "title": "凯里市" }, { "title": "施秉县" }, { "title": "从江县" }, { "title": "锦屏县" }, { "title": "镇远县" }, { "title": "麻江县" }, { "title": "台江县" }, { "title": "天柱县" }, { "title": "黄平县" }, { "title": "榕江县" }, { "title": "剑河县" }, { "title": "三穗县" }, { "title": "雷山县" }, { "title": "黎平县" }, { "title": "岑巩县" }, { "title": "丹寨县" }, { "title": "其他" }] }, { "title": "黔南布依族苗族自治州", "children": [{ "title": "都匀市" }, { "title": "福泉市" }, { "title": "贵定县" }, { "title": "惠水县" }, { "title": "罗甸县" }, { "title": "瓮安县" }, { "title": "荔波县" }, { "title": "龙里县" }, { "title": "平塘县" }, { "title": "长顺县" }, { "title": "独山县" }, { "title": "三都水族自治县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "云南", "children": [{ "title": "昆明", "children": [{ "title": "盘龙区" }, { "title": "五华区" }, { "title": "官渡区" }, { "title": "西山区" }, { "title": "东川区" }, { "title": "安宁市" }, { "title": "呈贡县" }, { "title": "晋宁县" }, { "title": "富民县" }, { "title": "宜良县" }, { "title": "嵩明县" }, { "title": "石林彝族自治县" }, { "title": "禄劝彝族苗族自治县" }, { "title": "寻甸回族彝族自治县" }, { "title": "其他" }] }, { "title": "曲靖", "children": [{ "title": "麒麟区" }, { "title": "宣威市" }, { "title": "马龙县" }, { "title": "沾益县" }, { "title": "富源县" }, { "title": "罗平县" }, { "title": "师宗县" }, { "title": "陆良县" }, { "title": "会泽县" }, { "title": "其他" }] }, { "title": "玉溪", "children": [{ "title": "红塔区" }, { "title": "江川县" }, { "title": "澄江县" }, { "title": "通海县" }, { "title": "华宁县" }, { "title": "易门县" }, { "title": "峨山彝族自治县" }, { "title": "新平彝族傣族自治县" }, { "title": "元江哈尼族彝族傣族自治县" }, { "title": "其他" }] }, { "title": "保山", "children": [{ "title": "隆阳区" }, { "title": "施甸县" }, { "title": "腾冲县" }, { "title": "龙陵县" }, { "title": "昌宁县" }, { "title": "其他" }] }, { "title": "昭通", "children": [{ "title": "昭阳区" }, { "title": "鲁甸县" }, { "title": "巧家县" }, { "title": "盐津县" }, { "title": "大关县" }, { "title": "永善县" }, { "title": "绥江县" }, { "title": "镇雄县" }, { "title": "彝良县" }, { "title": "威信县" }, { "title": "水富县" }, { "title": "其他" }] }, { "title": "丽江", "children": [{ "title": "古城区" }, { "title": "永胜县" }, { "title": "华坪县" }, { "title": "玉龙纳西族自治县" }, { "title": "宁蒗彝族自治县" }, { "title": "其他" }] }, { "title": "普洱", "children": [{ "title": "思茅区" }, { "title": "普洱哈尼族彝族自治县" }, { "title": "墨江哈尼族自治县" }, { "title": "景东彝族自治县" }, { "title": "景谷傣族彝族自治县" }, { "title": "镇沅彝族哈尼族拉祜族自治县" }, { "title": "江城哈尼族彝族自治县" }, { "title": "孟连傣族拉祜族佤族自治县" }, { "title": "澜沧拉祜族自治县" }, { "title": "西盟佤族自治县" }, { "title": "其他" }] }, { "title": "临沧", "children": [{ "title": "临翔区" }, { "title": "凤庆县" }, { "title": "云县" }, { "title": "永德县" }, { "title": "镇康县" }, { "title": "双江拉祜族佤族布朗族傣族自治县" }, { "title": "耿马傣族佤族自治县" }, { "title": "沧源佤族自治县" }, { "title": "其他" }] }, { "title": "德宏傣族景颇族自治州", "children": [{ "title": "潞西市" }, { "title": "瑞丽市" }, { "title": "梁河县" }, { "title": "盈江县" }, { "title": "陇川县" }, { "title": "其他" }] }, { "title": "怒江傈僳族自治州", "children": [{ "title": "泸水县" }, { "title": "福贡县" }, { "title": "贡山独龙族怒族自治县" }, { "title": "兰坪白族普米族自治县" }, { "title": "其他" }] }, { "title": "迪庆藏族自治州", "children": [{ "title": "香格里拉县" }, { "title": "德钦县" }, { "title": "维西傈僳族自治县" }, { "title": "其他" }] }, { "title": "大理白族自治州", "children": [{ "title": "大理市" }, { "title": "祥云县" }, { "title": "宾川县" }, { "title": "弥渡县" }, { "title": "永平县" }, { "title": "云龙县" }, { "title": "洱源县" }, { "title": "剑川县" }, { "title": "鹤庆县" }, { "title": "漾濞彝族自治县" }, { "title": "南涧彝族自治县" }, { "title": "巍山彝族回族自治县" }, { "title": "其他" }] }, { "title": "楚雄彝族自治州", "children": [{ "title": "楚雄市" }, { "title": "双柏县" }, { "title": "牟定县" }, { "title": "南华县" }, { "title": "姚安县" }, { "title": "大姚县" }, { "title": "永仁县" }, { "title": "元谋县" }, { "title": "武定县" }, { "title": "禄丰县" }, { "title": "其他" }] }, { "title": "红河哈尼族彝族自治州", "children": [{ "title": "蒙自县" }, { "title": "个旧市" }, { "title": "开远市" }, { "title": "绿春县" }, { "title": "建水县" }, { "title": "石屏县" }, { "title": "弥勒县" }, { "title": "泸西县" }, { "title": "元阳县" }, { "title": "红河县" }, { "title": "金平苗族瑶族傣族自治县" }, { "title": "河口瑶族自治县" }, { "title": "屏边苗族自治县" }, { "title": "其他" }] }, { "title": "文山壮族苗族自治州", "children": [{ "title": "文山县" }, { "title": "砚山县" }, { "title": "西畴县" }, { "title": "麻栗坡县" }, { "title": "马关县" }, { "title": "丘北县" }, { "title": "广南县" }, { "title": "富宁县" }, { "title": "其他" }] }, { "title": "西双版纳傣族自治州", "children": [{ "title": "景洪市" }, { "title": "勐海县" }, { "title": "勐腊县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "西藏", "children": [{ "title": "拉萨", "children": [{ "title": "城关区" }, { "title": "林周县" }, { "title": "当雄县" }, { "title": "尼木县" }, { "title": "曲水县" }, { "title": "堆龙德庆县" }, { "title": "达孜县" }, { "title": "墨竹工卡县" }, { "title": "其他" }] }, { "title": "那曲地区", "children": [{ "title": "那曲县" }, { "title": "嘉黎县" }, { "title": "比如县" }, { "title": "聂荣县" }, { "title": "安多县" }, { "title": "申扎县" }, { "title": "索县" }, { "title": "班戈县" }, { "title": "巴青县" }, { "title": "尼玛县" }, { "title": "其他" }] }, { "title": "昌都地区", "children": [{ "title": "昌都县" }, { "title": "江达县" }, { "title": "贡觉县" }, { "title": "类乌齐县" }, { "title": "丁青县" }, { "title": "察雅县" }, { "title": "八宿县" }, { "title": "左贡县" }, { "title": "芒康县" }, { "title": "洛隆县" }, { "title": "边坝县" }, { "title": "其他" }] }, { "title": "林芝地区", "children": [{ "title": "林芝县" }, { "title": "工布江达县" }, { "title": "米林县" }, { "title": "墨脱县" }, { "title": "波密县" }, { "title": "察隅县" }, { "title": "朗县" }, { "title": "其他" }] }, { "title": "山南地区", "children": [{ "title": "乃东县" }, { "title": "扎囊县" }, { "title": "贡嘎县" }, { "title": "桑日县" }, { "title": "琼结县" }, { "title": "曲松县" }, { "title": "措美县" }, { "title": "洛扎县" }, { "title": "加查县" }, { "title": "隆子县" }, { "title": "错那县" }, { "title": "浪卡子县" }, { "title": "其他" }] }, { "title": "日喀则地区", "children": [{ "title": "日喀则市" }, { "title": "南木林县" }, { "title": "江孜县" }, { "title": "定日县" }, { "title": "萨迦县" }, { "title": "拉孜县" }, { "title": "昂仁县" }, { "title": "谢通门县" }, { "title": "白朗县" }, { "title": "仁布县" }, { "title": "康马县" }, { "title": "定结县" }, { "title": "仲巴县" }, { "title": "亚东县" }, { "title": "吉隆县" }, { "title": "聂拉木县" }, { "title": "萨嘎县" }, { "title": "岗巴县" }, { "title": "其他" }] }, { "title": "阿里地区", "children": [{ "title": "噶尔县" }, { "title": "普兰县" }, { "title": "札达县" }, { "title": "日土县" }, { "title": "革吉县" }, { "title": "改则县" }, { "title": "措勤县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "陕西", "children": [{ "title": "西安", "children": [{ "title": "莲湖区" }, { "title": "新城区" }, { "title": "碑林区" }, { "title": "雁塔区" }, { "title": "灞桥区" }, { "title": "未央区" }, { "title": "阎良区" }, { "title": "临潼区" }, { "title": "长安区" }, { "title": "高陵县" }, { "title": "蓝田县" }, { "title": "户县" }, { "title": "周至县" }, { "title": "其他" }] }, { "title": "铜川", "children": [{ "title": "耀州区" }, { "title": "王益区" }, { "title": "印台区" }, { "title": "宜君县" }, { "title": "其他" }] }, { "title": "宝鸡", "children": [{ "title": "渭滨区" }, { "title": "金台区" }, { "title": "陈仓区" }, { "title": "岐山县" }, { "title": "凤翔县" }, { "title": "陇县" }, { "title": "太白县" }, { "title": "麟游县" }, { "title": "扶风县" }, { "title": "千阳县" }, { "title": "眉县" }, { "title": "凤县" }, { "title": "其他" }] }, { "title": "咸阳", "children": [{ "title": "秦都区" }, { "title": "渭城区" }, { "title": "杨陵区" }, { "title": "兴平市" }, { "title": "礼泉县" }, { "title": "泾阳县" }, { "title": "永寿县" }, { "title": "三原县" }, { "title": "彬县" }, { "title": "旬邑县" }, { "title": "长武县" }, { "title": "乾县" }, { "title": "武功县" }, { "title": "淳化县" }, { "title": "其他" }] }, { "title": "渭南", "children": [{ "title": "临渭区" }, { "title": "韩城市" }, { "title": "华阴市" }, { "title": "蒲城县" }, { "title": "潼关县" }, { "title": "白水县" }, { "title": "澄城县" }, { "title": "华县" }, { "title": "合阳县" }, { "title": "富平县" }, { "title": "大荔县" }, { "title": "其他" }] }, { "title": "延安", "children": [{ "title": "宝塔区" }, { "title": "安塞县" }, { "title": "洛川县" }, { "title": "子长县" }, { "title": "黄陵县" }, { "title": "延川县" }, { "title": "富县" }, { "title": "延长县" }, { "title": "甘泉县" }, { "title": "宜川县" }, { "title": "志丹县" }, { "title": "黄龙县" }, { "title": "吴起县" }, { "title": "其他" }] }, { "title": "汉中", "children": [{ "title": "汉台区" }, { "title": "留坝县" }, { "title": "镇巴县" }, { "title": "城固县" }, { "title": "南郑县" }, { "title": "洋县" }, { "title": "宁强县" }, { "title": "佛坪县" }, { "title": "勉县" }, { "title": "西乡县" }, { "title": "略阳县" }, { "title": "其他" }] }, { "title": "榆林", "children": [{ "title": "榆阳区" }, { "title": "清涧县" }, { "title": "绥德县" }, { "title": "神木县" }, { "title": "佳县" }, { "title": "府谷县" }, { "title": "子洲县" }, { "title": "靖边县" }, { "title": "横山县" }, { "title": "米脂县" }, { "title": "吴堡县" }, { "title": "定边县" }, { "title": "其他" }] }, { "title": "安康", "children": [{ "title": "汉滨区" }, { "title": "紫阳县" }, { "title": "岚皋县" }, { "title": "旬阳县" }, { "title": "镇坪县" }, { "title": "平利县" }, { "title": "石泉县" }, { "title": "宁陕县" }, { "title": "白河县" }, { "title": "汉阴县" }, { "title": "其他" }] }, { "title": "商洛", "children": [{ "title": "商州区" }, { "title": "镇安县" }, { "title": "山阳县" }, { "title": "洛南县" }, { "title": "商南县" }, { "title": "丹凤县" }, { "title": "柞水县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "甘肃", "children": [{ "title": "兰州", "children": [{ "title": "城关区" }, { "title": "七里河区" }, { "title": "西固区" }, { "title": "安宁区" }, { "title": "红古区" }, { "title": "永登县" }, { "title": "皋兰县" }, { "title": "榆中县" }, { "title": "其他" }] }, { "title": "嘉峪关", "children": [{ "title": "嘉峪关市" }, { "title": "其他" }] }, { "title": "金昌", "children": [{ "title": "金川区" }, { "title": "永昌县" }, { "title": "其他" }] }, { "title": "白银", "children": [{ "title": "白银区" }, { "title": "平川区" }, { "title": "靖远县" }, { "title": "会宁县" }, { "title": "景泰县" }, { "title": "其他" }] }, { "title": "天水", "children": [{ "title": "清水县" }, { "title": "秦安县" }, { "title": "甘谷县" }, { "title": "武山县" }, { "title": "张家川回族自治县" }, { "title": "北道区" }, { "title": "秦城区" }, { "title": "其他" }] }, { "title": "武威", "children": [{ "title": "凉州区" }, { "title": "民勤县" }, { "title": "古浪县" }, { "title": "天祝藏族自治县" }, { "title": "其他" }] }, { "title": "酒泉", "children": [{ "title": "肃州区" }, { "title": "玉门市" }, { "title": "敦煌市" }, { "title": "金塔县" }, { "title": "肃北蒙古族自治县" }, { "title": "阿克塞哈萨克族自治县" }, { "title": "安西县" }, { "title": "其他" }] }, { "title": "张掖", "children": [{ "title": "甘州区" }, { "title": "民乐县" }, { "title": "临泽县" }, { "title": "高台县" }, { "title": "山丹县" }, { "title": "肃南裕固族自治县" }, { "title": "其他" }] }, { "title": "庆阳", "children": [{ "title": "西峰区" }, { "title": "庆城县" }, { "title": "环县" }, { "title": "华池县" }, { "title": "合水县" }, { "title": "正宁县" }, { "title": "宁县" }, { "title": "镇原县" }, { "title": "其他" }] }, { "title": "平凉", "children": [{ "title": "崆峒区" }, { "title": "泾川县" }, { "title": "灵台县" }, { "title": "崇信县" }, { "title": "华亭县" }, { "title": "庄浪县" }, { "title": "静宁县" }, { "title": "其他" }] }, { "title": "定西", "children": [{ "title": "安定区" }, { "title": "通渭县" }, { "title": "临洮县" }, { "title": "漳县" }, { "title": "岷县" }, { "title": "渭源县" }, { "title": "陇西县" }, { "title": "其他" }] }, { "title": "陇南", "children": [{ "title": "武都区" }, { "title": "成县" }, { "title": "宕昌县" }, { "title": "康县" }, { "title": "文县" }, { "title": "西和县" }, { "title": "礼县" }, { "title": "两当县" }, { "title": "徽县" }, { "title": "其他" }] }, { "title": "临夏回族自治州", "children": [{ "title": "临夏市" }, { "title": "临夏县" }, { "title": "康乐县" }, { "title": "永靖县" }, { "title": "广河县" }, { "title": "和政县" }, { "title": "东乡族自治县" }, { "title": "积石山保安族东乡族撒拉族自治县" }, { "title": "其他" }] }, { "title": "甘南藏族自治州", "children": [{ "title": "合作市" }, { "title": "临潭县" }, { "title": "卓尼县" }, { "title": "舟曲县" }, { "title": "迭部县" }, { "title": "玛曲县" }, { "title": "碌曲县" }, { "title": "夏河县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "青海", "children": [{ "title": "西宁", "children": [{ "title": "城中区" }, { "title": "城东区" }, { "title": "城西区" }, { "title": "城北区" }, { "title": "湟源县" }, { "title": "湟中县" }, { "title": "大通回族土族自治县" }, { "title": "其他" }] }, { "title": "海东地区", "children": [{ "title": "平安县" }, { "title": "乐都县" }, { "title": "民和回族土族自治县" }, { "title": "互助土族自治县" }, { "title": "化隆回族自治县" }, { "title": "循化撒拉族自治县" }, { "title": "其他" }] }, { "title": "海北藏族自治州", "children": [{ "title": "海晏县" }, { "title": "祁连县" }, { "title": "刚察县" }, { "title": "门源回族自治县" }, { "title": "其他" }] }, { "title": "海南藏族自治州", "children": [{ "title": "共和县" }, { "title": "同德县" }, { "title": "贵德县" }, { "title": "兴海县" }, { "title": "贵南县" }, { "title": "其他" }] }, { "title": "黄南藏族自治州", "children": [{ "title": "同仁县" }, { "title": "尖扎县" }, { "title": "泽库县" }, { "title": "河南蒙古族自治县" }, { "title": "其他" }] }, { "title": "果洛藏族自治州", "children": [{ "title": "玛沁县" }, { "title": "班玛县" }, { "title": "甘德县" }, { "title": "达日县" }, { "title": "久治县" }, { "title": "玛多县" }, { "title": "其他" }] }, { "title": "玉树藏族自治州", "children": [{ "title": "玉树县" }, { "title": "杂多县" }, { "title": "称多县" }, { "title": "治多县" }, { "title": "囊谦县" }, { "title": "曲麻莱县" }, { "title": "其他" }] }, { "title": "海西蒙古族藏族自治州", "children": [{ "title": "德令哈市" }, { "title": "格尔木市" }, { "title": "乌兰县" }, { "title": "都兰县" }, { "title": "天峻县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "宁夏", "children": [{ "title": "银川", "children": [{ "title": "兴庆区" }, { "title": "西夏区" }, { "title": "金凤区" }, { "title": "灵武市" }, { "title": "永宁县" }, { "title": "贺兰县" }, { "title": "其他" }] }, { "title": "石嘴山", "children": [{ "title": "大武口区" }, { "title": "惠农区" }, { "title": "平罗县" }, { "title": "其他" }] }, { "title": "吴忠", "children": [{ "title": "利通区" }, { "title": "青铜峡市" }, { "title": "盐池县" }, { "title": "同心县" }, { "title": "其他" }] }, { "title": "固原", "children": [{ "title": "原州区" }, { "title": "西吉县" }, { "title": "隆德县" }, { "title": "泾源县" }, { "title": "彭阳县" }, { "title": "其他" }] }, { "title": "中卫", "children": [{ "title": "沙坡头区" }, { "title": "中宁县" }, { "title": "海原县" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "新疆", "children": [{ "title": "乌鲁木齐", "children": [{ "title": "天山区" }, { "title": "沙依巴克区" }, { "title": "新市区" }, { "title": "水磨沟区" }, { "title": "头屯河区" }, { "title": "达坂城区" }, { "title": "东山区" }, { "title": "乌鲁木齐县" }, { "title": "其他" }] }, { "title": "克拉玛依", "children": [{ "title": "克拉玛依区" }, { "title": "独山子区" }, { "title": "白碱滩区" }, { "title": "乌尔禾区" }, { "title": "其他" }] }, { "title": "吐鲁番地区", "children": [{ "title": "吐鲁番市" }, { "title": "托克逊县" }, { "title": "鄯善县" }, { "title": "其他" }] }, { "title": "哈密地区", "children": [{ "title": "哈密市" }, { "title": "伊吾县" }, { "title": "巴里坤哈萨克自治县" }, { "title": "其他" }] }, { "title": "和田地区", "children": [{ "title": "和田市" }, { "title": "和田县" }, { "title": "洛浦县" }, { "title": "民丰县" }, { "title": "皮山县" }, { "title": "策勒县" }, { "title": "于田县" }, { "title": "墨玉县" }, { "title": "其他" }] }, { "title": "阿克苏地区", "children": [{ "title": "阿克苏市" }, { "title": "温宿县" }, { "title": "沙雅县" }, { "title": "拜城县" }, { "title": "阿瓦提县" }, { "title": "库车县" }, { "title": "柯坪县" }, { "title": "新和县" }, { "title": "乌什县" }, { "title": "其他" }] }, { "title": "喀什地区", "children": [{ "title": "喀什市" }, { "title": "巴楚县" }, { "title": "泽普县" }, { "title": "伽师县" }, { "title": "叶城县" }, { "title": "岳普湖县" }, { "title": "疏勒县" }, { "title": "麦盖提县" }, { "title": "英吉沙县" }, { "title": "莎车县" }, { "title": "疏附县" }, { "title": "塔什库尔干塔吉克自治县" }, { "title": "其他" }] }, { "title": "克孜勒苏柯尔克孜自治州", "children": [{ "title": "阿图什市" }, { "title": "阿合奇县" }, { "title": "乌恰县" }, { "title": "阿克陶县" }, { "title": "其他" }] }, { "title": "巴音郭楞蒙古自治州", "children": [{ "title": "库尔勒市" }, { "title": "和静县" }, { "title": "尉犁县" }, { "title": "和硕县" }, { "title": "且末县" }, { "title": "博湖县" }, { "title": "轮台县" }, { "title": "若羌县" }, { "title": "焉耆回族自治县" }, { "title": "其他" }] }, { "title": "昌吉回族自治州", "children": [{ "title": "昌吉市" }, { "title": "阜康市" }, { "title": "奇台县" }, { "title": "玛纳斯县" }, { "title": "吉木萨尔县" }, { "title": "呼图壁县" }, { "title": "木垒哈萨克自治县" }, { "title": "米泉市" }, { "title": "其他" }] }, { "title": "博尔塔拉蒙古自治州", "children": [{ "title": "博乐市" }, { "title": "精河县" }, { "title": "温泉县" }, { "title": "其他" }] }, { "title": "石河子", "children": [{ "title": "石河子" }] }, { "title": "阿拉尔", "children": [{ "title": "阿拉尔" }] }, { "title": "图木舒克", "children": [{ "title": "图木舒克" }] }, { "title": "五家渠", "children": [{ "title": "五家渠" }] }, { "title": "伊犁哈萨克自治州", "children": [{ "title": "伊宁市" }, { "title": "奎屯市" }, { "title": "伊宁县" }, { "title": "特克斯县" }, { "title": "尼勒克县" }, { "title": "昭苏县" }, { "title": "新源县" }, { "title": "霍城县" }, { "title": "巩留县" }, { "title": "察布查尔锡伯自治县" }, { "title": "塔城地区" }, { "title": "阿勒泰地区" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "台湾", "children": [{ "title": "台湾", "children": [{ "title": "台北市" }, { "title": "高雄市" }, { "title": "台北县" }, { "title": "桃园县" }, { "title": "新竹县" }, { "title": "苗栗县" }, { "title": "台中县" }, { "title": "彰化县" }, { "title": "南投县" }, { "title": "云林县" }, { "title": "嘉义县" }, { "title": "台南县" }, { "title": "高雄县" }, { "title": "屏东县" }, { "title": "宜兰县" }, { "title": "花莲县" }, { "title": "台东县" }, { "title": "澎湖县" }, { "title": "基隆市" }, { "title": "新竹市" }, { "title": "台中市" }, { "title": "嘉义市" }, { "title": "台南市" }, { "title": "其他" }] }, { "title": "其他", "children": [{ "title": "其他" }] }] }, { "title": "澳门", "children": [{ "title": "澳门", "children": [{ "title": "花地玛堂区" }, { "title": "圣安多尼堂区" }, { "title": "大堂区" }, { "title": "望德堂区" }, { "title": "风顺堂区" }, { "title": "嘉模堂区" }, { "title": "圣方济各堂区" }, { "title": "路凼" }, { "title": "其他" }] }] }, { "title": "香港", "children": [{ "title": "香港", "children": [{ "title": "中西区" }, { "title": "湾仔区" }, { "title": "东区" }, { "title": "南区" }, { "title": "深水埗区" }, { "title": "油尖旺区" }, { "title": "九龙城区" }, { "title": "黄大仙区" }, { "title": "观塘区" }, { "title": "北区" }, { "title": "大埔区" }, { "title": "沙田区" }, { "title": "西贡区" }, { "title": "元朗区" }, { "title": "屯门区" }, { "title": "荃湾区" }, { "title": "葵青区" }, { "title": "离岛区" }, { "title": "其他" }] }] }];

/***/ }),
/* 296 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["picker"]
  }, [_c('wxc-popup', {
    staticClass: ["popup-wrapper"],
    attrs: {
      "popupColor": "#ffffff",
      "show": _vm.show,
      "pos": "bottom",
      "width": "750",
      "height": "550"
    },
    on: {
      "wxcPopupOverlayClicked": _vm.PopupOverlayClick
    }
  }, [_c('div', {
    staticClass: ["picker-content"]
  }, [_c('div', {
    staticClass: ["picker-item"],
    style: _vm.pickerItemStyle
  }, [_c('div', {
    staticClass: ["picker-bar"],
    style: _vm.pickerBarStyle
  }), _c('scroller', {
    ref: _vm.col_1_ref,
    staticClass: ["picker-item-list"],
    style: _vm.pickerItemStyle,
    attrs: {
      "showScrollbar": "false",
      "scrollDirection": "vertical"
    },
    on: {
      "scroll": _vm.onScroll,
      "scrollend": function (e) { return _vm.scrollEnd(e, _vm.col_1_ref); }
    }
  }, [_c('text', {
    ref: _vm.col_1_ref + '_text_0',
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_1_ref, 0); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_1_ref, 0); }
    }
  }), _c('text', {
    ref: _vm.col_1_ref + '_text_1',
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_1_ref, 1); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_1_ref, 1); }
    }
  }), _vm._l((_vm.col_1_list), function(item, index) {
    return _c('text', {
      key: _vm.col_1_ref + '_' + index,
      ref: _vm.col_1_ref + '_text_' + _vm.numAdd(index, 2),
      refInFor: true,
      staticClass: ["picker-item-text"],
      style: _vm.pickerItemTextStyle,
      on: {
        "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_1_ref, index + 2); },
        "appear": function (e) { return _vm.appearPickItem(e, _vm.col_1_ref, index + 2); }
      }
    }, [_vm._v(_vm._s((item.title || '')) + "\n                    ")])
  }), _c('text', {
    ref: _vm.col_1_ref + '_text_' + _vm.numAdd(_vm.col_1_list.length + 3),
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_1_ref, _vm.col_1_list.length + 3); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_1_ref, _vm.col_1_list.length + 3); }
    }
  }), _c('text', {
    ref: _vm.col_1_ref + '_text_' + _vm.numAdd(_vm.col_1_list.length + 4),
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_1_ref, _vm.col_1_list.length + 4); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_1_ref, _vm.col_1_list.length + 4); }
    }
  })], 2)]), _c('div', {
    staticClass: ["picker-item"],
    style: _vm.pickerItemStyle
  }, [_c('div', {
    staticClass: ["picker-bar"],
    style: _vm.pickerBarStyle
  }), _c('scroller', {
    ref: _vm.col_2_ref,
    staticClass: ["picker-item-list"],
    style: _vm.pickerItemStyle,
    attrs: {
      "showScrollbar": "false",
      "scrollDirection": "vertical"
    },
    on: {
      "scroll": _vm.onScroll,
      "scrollend": function (e) { return _vm.scrollEnd(e, _vm.col_2_ref); }
    }
  }, [_c('text', {
    ref: _vm.col_2_ref + '_text_0',
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_2_ref, 0); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_2_ref, 0); }
    }
  }), _c('text', {
    ref: _vm.col_2_ref + '_text_1',
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_2_ref, 1); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_2_ref, 1); }
    }
  }), _vm._l((_vm.col_2_list), function(item, index) {
    return _c('text', {
      key: _vm.col_2_ref + '_' + index,
      ref: _vm.col_2_ref + '_text_' + _vm.numAdd(index, 2),
      refInFor: true,
      staticClass: ["picker-item-text"],
      style: _vm.pickerItemTextStyle,
      on: {
        "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_2_ref, index + 2); },
        "appear": function (e) { return _vm.appearPickItem(e, _vm.col_2_ref, index + 2); }
      }
    }, [_vm._v(_vm._s((item.title || '')) + "\n                    ")])
  }), _c('text', {
    ref: _vm.col_2_ref + '_text_' + _vm.numAdd(_vm.col_2_list.length + 3),
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_2_ref, _vm.col_2_list.length + 3); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_2_ref, _vm.col_2_list.length + 3); }
    }
  }), _c('text', {
    ref: _vm.col_2_ref + '_text_' + _vm.numAdd(_vm.col_2_list.length + 4),
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_2_ref, _vm.col_2_list.length + 4); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_2_ref, _vm.col_2_list.length + 4); }
    }
  })], 2)]), _c('div', {
    staticClass: ["picker-item"],
    style: _vm.pickerItemStyle
  }, [_c('div', {
    staticClass: ["picker-bar"],
    style: _vm.pickerBarStyle
  }), _c('scroller', {
    ref: _vm.col_3_ref,
    staticClass: ["picker-item-list"],
    style: _vm.pickerItemStyle,
    attrs: {
      "showScrollbar": "false",
      "scrollDirection": "vertical"
    },
    on: {
      "scroll": _vm.onScroll,
      "scrollend": function (e) { return _vm.scrollEnd(e, _vm.col_3_ref); }
    }
  }, [_c('text', {
    ref: _vm.col_3_ref + '_text_0',
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_3_ref, 0); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_3_ref, 0); }
    }
  }), _c('text', {
    ref: _vm.col_3_ref + '_text_1',
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_3_ref, 1); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_3_ref, 1); }
    }
  }), _vm._l((_vm.col_3_list), function(item, index) {
    return _c('text', {
      key: _vm.col_3_ref + '_' + index,
      ref: _vm.col_3_ref + '_text_' + _vm.numAdd(index, 2),
      refInFor: true,
      staticClass: ["picker-item-text"],
      style: _vm.pickerItemTextStyle,
      on: {
        "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_3_ref, index + 2); },
        "appear": function (e) { return _vm.appearPickItem(e, _vm.col_3_ref, index + 2); }
      }
    }, [_vm._v(_vm._s((item.title || '')) + "\n                    ")])
  }), _c('text', {
    ref: _vm.col_3_ref + '_text_' + _vm.numAdd(_vm.col_3_list.length + 3),
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_3_ref, _vm.col_3_list.length + 3); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_3_ref, _vm.col_3_list.length + 3); }
    }
  }), _c('text', {
    ref: _vm.col_3_ref + '_text_' + _vm.numAdd(_vm.col_3_list.length + 4),
    staticClass: ["picker-item-text"],
    style: _vm.pickerItemTextStyle,
    on: {
      "disappear": function (e) { return _vm.disAppearPickItem(e, _vm.col_3_ref, _vm.col_3_list.length + 4); },
      "appear": function (e) { return _vm.appearPickItem(e, _vm.col_3_ref, _vm.col_3_list.length + 4); }
    }
  })], 2)])]), _c('div', {
    class: ['picker-btn', _vm.isipx() ? 'ipx-bottom' : '']
  }, [_c('text', {
    staticClass: ["picker-btn-text"],
    on: {
      "click": _vm.change
    }
  }, [_vm._v("确定")]), _c('text', {
    staticClass: ["picker-btn-text"],
    on: {
      "click": _vm.cancel
    }
  }, [_vm._v("取消")])])])], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 297 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["form", "border_top"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["font_space"]
  }), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(0), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入负责人",
      "value": "",
      "value": (_vm.shop_name)
    },
    on: {
      "input": function($event) {
        _vm.shop_name = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(1), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入联系电话",
      "value": "",
      "value": (_vm.mobile)
    },
    on: {
      "input": function($event) {
        _vm.mobile = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(2), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入开户行",
      "value": "",
      "value": (_vm.opening_bank)
    },
    on: {
      "input": function($event) {
        _vm.opening_bank = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(3), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入银行账号",
      "value": "",
      "value": (_vm.bank_card)
    },
    on: {
      "input": function($event) {
        _vm.bank_card = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(4), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入门店分类",
      "value": _vm.shop_type_name
    },
    on: {
      "click": _vm.selectType
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(5), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入人均消费",
      "value": "",
      "value": (_vm.person_average)
    },
    on: {
      "input": function($event) {
        _vm.person_average = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(6), _c('div', {
    staticClass: ["form_dl_dd", "dd3"],
    on: {
      "click": function($event) {
        _vm.getImg(1)
      }
    }
  }, [_c('image', {
    staticClass: ["dd3"],
    attrs: {
      "src": _vm.shop_logo,
      "alt": ""
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(7), _c('div', {
    staticClass: ["form_dl_dd"],
    staticStyle: {
      justifyContent: "center"
    },
    on: {
      "click": _vm.openPicker
    }
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入商铺位置",
      "value": _vm.areaAddres,
      "disabled": ""
    },
    on: {
      "change": _vm.openPicker,
      "focus": _vm.openPicker,
      "input": _vm.openPicker
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(8), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入详细地址",
      "value": "",
      "value": (_vm.address)
    },
    on: {
      "input": function($event) {
        _vm.address = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(9), _c('div', {
    staticClass: ["form_dl_dd", "dd1"]
  }, [_c('textarea', {
    staticClass: ["textarea"],
    attrs: {
      "placeholder": "请输入详细地址",
      "value": (_vm.content)
    },
    on: {
      "input": function($event) {
        _vm.content = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(10), _c('div', {
    staticClass: ["form_dl_dd", "dd3"],
    on: {
      "click": function($event) {
        _vm.getImg(2)
      }
    }
  }, [_c('image', {
    staticClass: ["dd3"],
    attrs: {
      "src": _vm.business_license,
      "alt": ""
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(11), _c('div', {
    staticClass: ["form_dl_dd", "dd3"],
    on: {
      "click": function($event) {
        _vm.getImg(3)
      }
    }
  }, [_c('image', {
    staticClass: ["dd3"],
    attrs: {
      "src": _vm.restaurant_license,
      "alt": ""
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(12), _c('div', {
    staticClass: ["form_dl_dd", "dd3"],
    on: {
      "click": function($event) {
        _vm.getImg(4)
      }
    }
  }, [_c('image', {
    staticClass: ["dd3"],
    attrs: {
      "src": _vm.shop_imgs,
      "alt": ""
    }
  })])]), _c('div', {
    staticClass: ["font_space"]
  }), _c('div', {
    staticClass: ["form_bottom", "border_top"]
  }, [_c('div', {
    staticClass: ["bt"],
    staticStyle: {
      position: "absolute",
      left: "30px",
      right: "30px"
    },
    on: {
      "click": _vm.add
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])])])]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": function($event) {
        _vm.down('serveHome')
      }
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(13)])]), _c('x-picker', {
    attrs: {
      "type": "area",
      "show": _vm.showPicker,
      "defaultTitle": _vm.defaultTitle
    },
    on: {
      "overlayClick": _vm.pickerOverlayClick,
      "onchange": _vm.change
    }
  })], 1)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("负责人：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("联系电话：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("开户行：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("银行账号：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("门店分类：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("人均消费：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("店铺LOGO：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("请选择商铺位置：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("详细地址：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("详细内容：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("上传营业执照：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("餐饮许可证：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("店铺照片：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("店铺信息")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 298 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(299)
)

/* script */
__vue_exports__ = __webpack_require__(300)

/* template */
var __vue_template__ = __webpack_require__(301)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\applyStatus.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-42b36d40"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 299 */
/***/ (function(module, exports) {

module.exports = {
  "stats_box": {
    "alignItems": "center"
  },
  "img": {
    "width": "89",
    "height": "88",
    "borderRadius": "44",
    "marginTop": "40"
  },
  "text": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(53,136,235,1)",
    "lineHeight": "25",
    "marginTop": "40"
  },
  "bt": {
    "color": "#FFFFFF",
    "justifyContent": "center",
    "alignItems": "center",
    "width": "200",
    "height": "80",
    "backgroundColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginTop": "20"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 300 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _name$components$name;

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = (_name$components$name = {
    name: 'applyStatus',
    components: {
        header: _header2.default
    }
}, _defineProperty(_name$components$name, 'name', 'applyStatus'), _defineProperty(_name$components$name, 'data', function data() {
    return {
        back: _url2.default + '/appimages/back.png',
        icon3: _url2.default + '/appimages/icon3.png'
    };
}), _defineProperty(_name$components$name, 'methods', {
    downback: function downback() {
        this.$router.back();
    },
    down: function down(name) {
        this.$router.push({
            name: name
        });
    },
    wxcButtonClicked: function wxcButtonClicked(e) {
        var modal = weex.requireModule('modal');
        modal.toast({
            message: "This is a toast",
            duration: 1
        });
    }
}), _name$components$name);

/***/ }),
/* 301 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.downback
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(0)]), _c('div', {
    staticClass: ["stats_box"]
  }, [_c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon3"],
    attrs: {
      "src": _vm.icon3
    }
  })]), _vm._m(1), _c('div', {
    staticClass: ["bt"],
    on: {
      "click": function($event) {
        _vm.down('serveHome')
      }
    }
  }, [_c('text', [_vm._v("关闭")])])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("提交申请")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('text', {
    staticClass: ["text"]
  }, [_vm._v("已提交成功，请您耐心等待")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 302 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(303)
)

/* script */
__vue_exports__ = __webpack_require__(304)

/* template */
var __vue_template__ = __webpack_require__(305)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\dishes.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-5e28fbb8"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 303 */
/***/ (function(module, exports) {

module.exports = {
  "d_list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30",
    "flex": 1
  },
  "dl": {
    "justifyContent": "space-between",
    "paddingTop": "40",
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "dt": {
    "flexDirection": "row"
  },
  "img": {
    "width": "100",
    "height": "100",
    "borderRadius": "10"
  },
  "img1": {
    "width": "100",
    "height": "100"
  },
  "text": {
    "flex": 1,
    "marginLeft": "30"
  },
  "text1": {
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "text2": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25"
  },
  "price": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(216,70,63,1)",
    "lineHeight": "25"
  },
  "bt": {
    "width": "200",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginBottom": "20",
    "marginTop": "20",
    "color": "#FFFFFF"
  },
  "bt2": {
    "width": "200",
    "height": "60",
    "justifyContent": "center",
    "alignItems": "center",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginBottom": "20",
    "color": "#0088FB"
  },
  "bt1": {
    "backgroundColor": "rgba(0,148,242,1)",
    "color": "#FFFFFF",
    "marginBottom": 0
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 304 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexUi = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var valueModule = weex.requireModule('event');
var modal = weex.requireModule('modal');
//  import access_token from '../access_token'
exports.default = {
    components: {
        header: _header2.default,
        WxcPartLoading: _weexUi.WxcPartLoading,
        WxcDialog: _weexUi.WxcDialog
    },
    name: 'dishes',
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            img1: _url2.default + '/appimages/img1.png',
            list: [],
            isShow: true,
            page: 1,
            loadinging: false,

            // 对话框
            id: '',
            title: '提示',
            content: '确定删除吗？',
            confirmText: '确定',
            cancelText: '取消',
            noPromptText: '不再提示',
            show: false,
            single: false,
            showNoPrompt: false,
            isChecked: false,
            access_token: '3IOdnFNwWZiZYoRkVamryNXQkdKVU2pb2MyYmqWiolSNg5idoZep2tOW0KycmFqdhZJSkVKYoqja1KCaWnNWVI2DpKekn6vP1Z/LnFVuWpeFjlLIn56gmtPdlp+cW25UlZlWZFOco8fNU5xaVWBa18zPlYdqYmVulZxnanFvZq8='
        };
    },
    created: function created() {
        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getList(1);
        });
    },

    methods: {
        down: function down() {
            this.$router.back();
        },
        getList: function getList(type) {
            var that = this;
            var params = '/shop/product/product_list' + '?' + 'access_token=' + this.access_token + '&page=' + this.page;

            function callback(res) {
                if (!res.data.error_code) {
                    var data = res.data.response_data;
                    if (data.lists.length > 0) {
                        that.list = type == 1 ? that.list.concat(data.lists) : data.lists;
                    }
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        add: function add() {
            this.$router.push({
                path: '/dishesEditor?type=1'
            });
        },
        edit: function edit(id) {
            this.$router.push({
                path: '/dishesEditor?type=2&id=' + id
            });
        },
        onloading: function onloading(event) {
            var _this = this;

            this.loadinging = true;
            setTimeout(function () {
                _this.loadinging = false;
                _this.page++;
                _this.getList(2);
            }, 1000);
        },
        dialogConfirmBtnClick: function dialogConfirmBtnClick() {
            var that = this;
            var params = '/shop/product/product_delete' + '?' + 'access_token=' + this.access_token + '&product_id=' + this.id;

            function callback(res) {
                if (!res.data.error_code) {
                    modal.toast({
                        message: '删除成功！',
                        duration: 1
                    });
                    that.getList(2);
                    that.show = false;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        }
    }
};

/***/ }),
/* 305 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["d_list"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _vm._l((_vm.list), function(item) {
    return _c('div', {
      staticClass: ["dl"]
    }, [_c('div', {
      staticClass: ["dt"]
    }, [_c('div', {
      staticClass: ["img"]
    }, [_c('image', {
      staticClass: ["img1"],
      attrs: {
        "src": item.product_imgs
      }
    })]), _c('div', {
      staticClass: ["text"]
    }, [_c('div', {
      staticClass: ["text1"]
    }, [_c('text', {
      staticClass: ["text2"]
    }, [_vm._v(_vm._s(item.name))]), _c('text', {
      staticClass: ["text3"]
    }, [_vm._v(_vm._s(item.type_name))])]), _c('div', {
      staticClass: ["price"]
    }, [_c('text', [_vm._v("￥" + _vm._s(item.price / 100))])])])]), _c('div', {
      staticClass: ["dd"]
    }, [_c('div', {
      staticClass: ["bt", "bt1"],
      on: {
        "click": function($event) {
          _vm.edit(item.id)
        }
      }
    }, [_c('text', {
      staticStyle: {
        color: "#FFFFFF"
      }
    }, [_vm._v("编辑")])]), _c('div', {
      staticClass: ["bt", "bt2"],
      on: {
        "click": function($event) {
          _vm.show = true, _vm.id = item.id
        }
      }
    }, [_c('text', [_vm._v("删除")])])])])
  }), _c('loading', {
    staticClass: ["loading"],
    attrs: {
      "display": _vm.loadinging ? 'show' : 'hide'
    },
    on: {
      "loading": _vm.onloading
    }
  }, [_c('text', {
    staticClass: ["indicator-text"]
  }, [_vm._v("正在加载中...")])])], 2)]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })]), _c('div', {
    staticClass: ["header_top_operation"],
    staticStyle: {
      height: "100px",
      justifyContent: "center"
    },
    on: {
      "click": _vm.add
    }
  }, [_c('text', {
    staticClass: ["header_top_operation"]
  }, [_vm._v("添加")])])]), _vm._m(0)])]), _c('wxc-dialog', {
    attrs: {
      "title": _vm.title,
      "content": _vm.content,
      "confirmText": _vm.confirmText,
      "cancelText": _vm.cancelText,
      "show": _vm.show,
      "single": _vm.single,
      "isChecked": _vm.isChecked,
      "noPromptText": _vm.noPromptText,
      "showNoPrompt": _vm.showNoPrompt
    },
    on: {
      "wxcDialogCancelBtnClicked": function($event) {
        _vm.show = false
      },
      "wxcDialogConfirmBtnClicked": _vm.dialogConfirmBtnClick
    }
  })], 1)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("菜品管理")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 306 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(307)
)

/* script */
__vue_exports__ = __webpack_require__(308)

/* template */
var __vue_template__ = __webpack_require__(309)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\dishesEditor.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-663b22c5"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 307 */
/***/ (function(module, exports) {

module.exports = {
  "dd_input": {
    "backgroundColor": "rgba(0,0,0,0)",
    "color": "#999999",
    "fontSize": "28"
  },
  "form_dl_dd_dd2": {
    "width": "360"
  },
  "i": {
    "width": "22",
    "height": "12"
  },
  "dd3": {
    "paddingTop": 0,
    "paddingRight": 0,
    "paddingBottom": 0,
    "paddingLeft": 0,
    "width": "213",
    "height": "213"
  },
  "weex-image": {
    "height": "213",
    "justifyContent": "center"
  },
  "bt": {
    "backgroundColor": "rgba(0,148,242,1)",
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "paddingBottom": "10",
    "backgroundColor": "rgba(0,0,0,0)",
    "borderTopWidth": 0,
    "flex": 1
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "right": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 308 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'

var picker = weex.requireModule('picker');
exports.default = {
    name: 'dishesEditor',
    components: {
        header: _header2.default
    },
    data: function data() {
        return {
            img: _url2.default + '/appimages/upload.png',
            back: _url2.default + '/appimages/back.png',
            title: '',
            type: '',
            typeList: [],
            type_title: [],
            goods_info: {
                id: '',
                product_imgs: _url2.default + '/appimages/upload.png',
                product_type_name: '',
                product_type: ''
            },
            access_token: '3IOdnFNwWZiZYoRkVamryNXQkdKVU2pb2MyYmqWiolSNg5idoZep2tOW0KycmFqdhZJSkVKYoqja1KCaWnNWVI2DpKekn6vP1Z/LnFVuWpeFjlLIn56gmtPdlp+cW25UlZlWZFOco8fNU5xaVWBa18zPlYdqYmVulZxnanFvZq8='
        };
    },

    watch: {
        $route: function $route() {
            // this.type = this.$route.query.type;
            // if(this.type==2) {
            //     this.getDetails(this.$route.query.id);
            // }
        }
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getTypes();
            that.type = that.$route.query.type;
            if (that.type == 2) {
                that.title = '编辑';
                that.getDetails(that.$route.query.id);
            } else {
                that.title = '添加';
            }
        });
    },

    methods: {
        getImg: function getImg() {
            var that = this;
            valueModule.openPhotoAlbum(function (res) {
                var imgUrl = res.imgUrl;
                that.goods_info.product_imgs = imgUrl;
            });
        },
        down: function down() {
            this.$router.back();
        },
        getDetails: function getDetails(id) {
            var that = this;
            var params = '/shop/product/product_detail' + '?' + 'access_token=' + this.access_token + '&product_id=' + id;

            function callback(res) {
                if (!res.data.error_code) {
                    var data = res.data.response_data;
                    data.lists.price = data.lists.price / 100;
                    that.goods_info = data.lists;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        // 类型列表
        getTypes: function getTypes() {
            var that = this;
            var params = '/shop/product/product_type_list' + '?' + 'access_token=' + this.access_token + '&is_group=2';
            var newarr = [];

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.typeList = data.lists;
                    data.lists.forEach(function (item, index) {
                        newarr.push(item.name);
                    });
                    that.type_title = newarr;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        // 类型选择
        selectType: function selectType() {
            var _this = this;

            picker.pick({
                items: this.type_title
            }, function (event) {
                if (event.result === 'success') {
                    _this.goods_info.product_type = _this.typeList[event.data].id;
                    _this.goods_info.product_type_name = _this.typeList[event.data].name;
                }
            });
        },
        // 添加/编辑商品
        submit_product: function submit_product() {
            var that = this;
            var succeee_text = '';
            var params = '/shop/product/product_edit' + '?' + 'access_token=' + this.access_token + '&product_id=' + this.goods_info.id + '&name=' + this.goods_info.name + '&price=' + this.goods_info.price * 100 + '&product_type=' + this.goods_info.product_type;
            if (this.type == 1) {
                if (!this.goods_info.name || !this.goods_info.price || !this.goods_info.product_type) {
                    modal.toast({
                        message: '请将信息填写完整！',
                        duration: 1
                    });
                    return false;
                }
                params = '/shop/product/product_edit' + '?' + 'access_token=' + this.access_token + '&product_id=' + this.goods_info.id + '&name=' + this.goods_info.name + '&price=' + this.goods_info.price * 100 + '&product_type=' + this.goods_info.product_type + '&product_imgs=' + this.goods_info.product_imgs;
                succeee_text = '添加成功！';
            } else {
                succeee_text = '编辑成功！';
            }

            function callback(res) {
                if (!res.data.error_code) {
                    modal.toast({
                        message: succeee_text,
                        duration: 1
                    });
                    that.$router.back();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        }
    }
};

/***/ }),
/* 309 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["form", "border_top"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["font_space"]
  }), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(0), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["dd_input", "form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入菜品名称",
      "value": (_vm.goods_info.name)
    },
    on: {
      "input": function($event) {
        _vm.$set(_vm.goods_info, "name", $event.target.attr.value)
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(1), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["dd_input", "form_dl_dd_input"],
    attrs: {
      "type": "number",
      "placeholder": "请输入价格",
      "value": (_vm.goods_info.price)
    },
    on: {
      "input": function($event) {
        _vm.$set(_vm.goods_info, "price", $event.target.attr.value)
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(2), _c('div', {
    staticClass: ["form_dl_dd", "form_dl_dd_dd2"],
    on: {
      "click": _vm.selectType
    }
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请选择菜品类型",
      "value": _vm.goods_info.product_type_name,
      "disabled": ""
    },
    on: {
      "change": _vm.selectType,
      "focus": _vm.selectType
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(3), _c('div', {
    staticClass: ["dd3"],
    on: {
      "click": _vm.getImg
    }
  }, [_c('image', {
    staticClass: ["dd3"],
    attrs: {
      "src": _vm.goods_info.product_imgs,
      "alt": ""
    },
    on: {
      "click": _vm.getImg
    }
  })])]), _c('div', {
    staticClass: ["font_space"]
  }), _c('div', {
    staticClass: ["form_bottom", "border_top"]
  }, [_c('div', {
    staticClass: ["bt"],
    staticStyle: {
      position: "absolute",
      left: "30px",
      right: "30px"
    },
    on: {
      "click": _vm.submit_product
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("  提交")])])])])]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top"]
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(4)])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("  菜品名称：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("  价格：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("  类型：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("  上传照片：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("菜品编辑")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 310 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(311)
)

/* script */
__vue_exports__ = __webpack_require__(312)

/* template */
var __vue_template__ = __webpack_require__(313)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\dishesType.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-31fb9bdc"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 311 */
/***/ (function(module, exports) {

module.exports = {
  "d_list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30",
    "flex": 1
  },
  "dl": {
    "justifyContent": "space-between",
    "paddingTop": "40",
    "paddingLeft": "30",
    "paddingRight": "30",
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "dt": {
    "flexDirection": "row"
  },
  "text": {
    "flex": 1
  },
  "text1": {
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "text3": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25"
  },
  "bt1": {
    "width": "200",
    "height": "60",
    "justifyContent": "center",
    "alignItems": "center",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginBottom": "20",
    "backgroundColor": "rgba(0,148,242,1)",
    "color": "#FFFFFF"
  },
  "bt2": {
    "width": "200",
    "height": "60",
    "justifyContent": "center",
    "alignItems": "center",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginBottom": "20",
    "color": "#0088FB"
  },
  "demo-content": {
    "paddingTop": "40",
    "paddingRight": "30",
    "paddingBottom": "40",
    "paddingLeft": "30"
  },
  "content_top": {
    "paddingBottom": "40",
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "close": {
    "width": "34",
    "height": "34"
  },
  "content_top_p": {
    "marginTop": "40",
    "marginRight": 0,
    "marginBottom": "40",
    "marginLeft": 0,
    "color": "#333333",
    "fontSize": "36"
  },
  "content_top_input": {
    "height": "80",
    "paddingTop": 0,
    "paddingRight": "20",
    "paddingBottom": 0,
    "paddingLeft": "20",
    "backgroundColor": "#F0F1F4",
    "borderRadius": "10"
  },
  "content_bottom_p": {
    "height": "80",
    "marginTop": "20",
    "backgroundColor": "#0094F2",
    "borderRadius": "10",
    "lineHeight": "80",
    "textAlign": "center",
    "color": "#ffffff",
    "fontSize": "28"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 312 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexUi = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    components: {
        header: _header2.default,
        WxcPartLoading: _weexUi.WxcPartLoading,
        WxcDialog: _weexUi.WxcDialog,
        WxcPopup: _weexUi.WxcPopup
    },
    name: 'dishesType',
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            img1: _url2.default + '/appimages/img1.png',
            list: [],
            isShow: true,
            page: 1,
            loadinging: false,

            // 对话框
            id: '',
            title: '提示',
            content: '确定删除吗？',
            confirmText: '确定',
            cancelText: '取消',
            noPromptText: '不再提示',
            show: false,
            single: false,
            showNoPrompt: false,
            isChecked: false,

            // 弹出层  添加/编辑
            info: {
                name: ''
            },
            poptitle: '添加',
            type: 1,
            isBottomShow: false,
            access_token: '3IOdnFNwWZiZYoRkVamryNXQkdKVU2pb2MyYmqWiolSNg5idoZep2tOW0KycmFqdhZJSkVKYoqja1KCaWnNWVI2DpKekn6vP1Z/LnFVuWpeFjlLIn56gmtPdlp+cW25UlZlWZFOco8fNU5xaVWBa18zPlYdqYmVulZxnanFvZq8='
        };
    },
    created: function created() {
        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getList(1);
        });
    },

    methods: {
        down: function down() {
            this.$router.back();
        },
        getList: function getList(type) {
            var that = this;
            var params = '/shop/product/product_type_list' + '?' + 'access_token=' + this.access_token + '&page=' + this.page;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.list = type == 1 ? that.list.concat(data.lists) : data.lists;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        onloading: function onloading(event) {
            var _this = this;

            this.loadinging = true;
            setTimeout(function () {
                _this.loadinging = false;
                _this.page++;
                _this.getList(1);
            }, 1000);
        },
        dialogConfirmBtnClick: function dialogConfirmBtnClick() {
            var that = this;
            var params = '/shop/product/product_type_delete' + '?' + 'access_token=' + this.access_token + '&type_id=' + this.id;

            function callback(res) {
                if (!res.data.error_code) {
                    modal.toast({
                        message: '删除成功！',
                        duration: 1
                    });
                    that.getList(2);
                    that.show = false;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        openBottomPopup: function openBottomPopup(type, id) {
            if (type == 1) {
                this.info.name = '';
                this.poptitle = '添加';
                this.type = 1;
            } else {
                this.poptitle = '编辑';
                this.type = 2;
                this.getDetails(id);
            }
            this.isBottomShow = true;
        },

        //非状态组件，需要在这里关闭
        popupOverlayBottomClick: function popupOverlayBottomClick() {
            this.isBottomShow = false;
        },

        // 商品类型详情
        getDetails: function getDetails(id) {
            var that = this;
            var params = '/shop/product/product_type_detail' + '?' + 'access_token=' + this.access_token + '&type_id=' + id;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.info = data.lists;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        // 添加/编辑类型
        submit_type: function submit_type() {
            var that = this;
            if (!this.info.name) {
                modal.toast({
                    message: '请将信息填写完整！',
                    duration: 1
                });
                return false;
            };
            var params = '/shop/product/product_type_edit' + '?' + 'access_token=' + this.access_token + '&type_id=' + this.info.id + '&name=' + this.info.name;;
            var success_text = '';
            // 添加
            if (this.type == 1) {
                success_text = '添加成功！';
            } else {
                success_text = '编辑成功！';
            }

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    modal.toast({
                        message: success_text,
                        duration: 1
                    });
                    that.isBottomShow = false;
                    that.getList(2);
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        }
    }
};

/***/ }),
/* 313 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _c('div', {
    staticClass: ["d_list"]
  }, [_vm._l((_vm.list), function(item) {
    return _c('div', {
      staticClass: ["dl"]
    }, [_c('div', {
      staticClass: ["dt"]
    }, [_c('div', {
      staticClass: ["text"]
    }, [_c('div', {
      staticClass: ["text1"]
    }, [_c('text', {
      staticClass: ["text3"]
    }, [_vm._v(_vm._s(item.name))])])])]), _c('div', {
      staticClass: ["dd"]
    }, [_c('div', {
      staticClass: ["bt", "bt1"],
      on: {
        "click": function($event) {
          _vm.openBottomPopup(2, item.id)
        }
      }
    }, [_c('text', {
      staticStyle: {
        color: "#FFFFFF"
      }
    }, [_vm._v("编辑")])]), _c('div', {
      staticClass: ["bt", "bt2"],
      on: {
        "click": function($event) {
          _vm.show = true, _vm.id = item.id
        }
      }
    }, [_c('text', [_vm._v("删除")])])])])
  }), _c('div', {
    staticClass: ["font_space"]
  })], 2), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })]), _c('div', {
    staticClass: ["header_top_operation"],
    on: {
      "click": function($event) {
        _vm.openBottomPopup(1)
      }
    }
  }, [_c('text', {
    staticClass: ["header_top_operation"]
  }, [_vm._v("添加")])])]), _vm._m(0)])]), _c('loading', {
    staticClass: ["loading"],
    attrs: {
      "display": _vm.loadinging ? 'show' : 'hide'
    },
    on: {
      "loading": _vm.onloading
    }
  }, [_c('text', {
    staticClass: ["indicator-text"]
  }, [_vm._v("正在加载中...")])]), _c('wxc-dialog', {
    attrs: {
      "title": _vm.title,
      "content": _vm.content,
      "confirmText": _vm.confirmText,
      "cancelText": _vm.cancelText,
      "show": _vm.show,
      "single": _vm.single,
      "isChecked": _vm.isChecked,
      "noPromptText": _vm.noPromptText,
      "showNoPrompt": _vm.showNoPrompt
    },
    on: {
      "wxcDialogCancelBtnClicked": function($event) {
        _vm.show = false
      },
      "wxcDialogConfirmBtnClicked": _vm.dialogConfirmBtnClick
    }
  }), _c('wxc-popup', {
    attrs: {
      "popupColor": "rgb(255,255,255)",
      "show": _vm.isBottomShow,
      "pos": "bottom",
      "height": "500"
    },
    on: {
      "wxcPopupOverlayClicked": _vm.popupOverlayBottomClick
    }
  }, [_c('div', {
    staticClass: ["demo-content"]
  }, [_c('div', {
    staticClass: ["content_top"]
  }, [_c('div', {
    staticClass: ["close"],
    on: {
      "click": _vm.popupOverlayBottomClick
    }
  }), _c('p', {
    staticClass: ["content_top_p"]
  }, [_vm._v(_vm._s(_vm.poptitle) + "商品类型")]), _c('input', {
    staticClass: ["content_top_input"],
    attrs: {
      "type": "text",
      "value": (_vm.info.name)
    },
    on: {
      "input": function($event) {
        _vm.$set(_vm.info, "name", $event.target.attr.value)
      }
    }
  })], 1), _c('div', {
    staticClass: ["content_bottom"],
    on: {
      "click": _vm.submit_type
    }
  }, [_c('text', {
    staticClass: ["content_bottom_p"]
  }, [_vm._v("提交")])])])])], 1)])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("菜品类型")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 314 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(315)
)

/* script */
__vue_exports__ = __webpack_require__(316)

/* template */
var __vue_template__ = __webpack_require__(317)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\eatDetail.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-49c55f89"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 315 */
/***/ (function(module, exports) {

module.exports = {
  "header": {
    "backgroundColor": "#FFFFFF",
    "paddingLeft": "30",
    "paddingRight": "30"
  },
  "banner_img": {
    "height": "620"
  },
  "formbox": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "borderRadius": "20",
    "backgroundColor": "#FFFFFF",
    "width": "750",
    "paddingTop": "60"
  },
  "form_name": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "form_p": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginBottom": "30"
  },
  "infor": {
    "marginBottom": "60",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "price": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(216,70,63,1)",
    "lineHeight": "25"
  },
  "bt": {
    "backgroundColor": "#0088FB",
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10",
    "flex": 1
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "right": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 316 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _weexUi = __webpack_require__(3);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    name: 'eatDetail',
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            icon2: _url2.default + '/appimages/icon2.png',
            img3: _url2.default + '/appimages/img3.png',
            jia: _url2.default + '/appimages/jia.png',
            jian: _url2.default + '/appimages/jian.png',
            form: '',
            total: '',
            access_token: '3IOdnFNwWZiYZ4RkVamryNXQkdKVU2pblpdqaWtsZ2WUlGdaXViby9aS1KygmabXzMZSn1JhUmWHy6mlramdloObVlpdWKfV2ZrWoaKioceFnFKZUl1SnNTRp5emspObxYNuWmVpWZKIl86ZmlZyhYWOUsmVnVJzh5VZYlqtnZ/Gg25pZmtpmJ1kmnFjsQ=='
        };
    },
    created: function created() {
        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            if (that.$route.query.id) {
                that.getDetail();
            }
        });
    },

    methods: {
        downback: function downback() {
            this.$router.back();
        },
        getDetail: function getDetail() {
            var that = this;
            var params = '/shop/product/product_detail' + '?' + 'access_token=' + this.access_token + '&product_id=' + this.$route.query.id;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.form = data.lists;
                    that.sum();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        add: function add(item, select) {
            var that = this;
            console.log(item, select);
            var list = this.list;
            var id = this.$route.query.id;
            var num = item.num;
            var type = 1;
            if (select == 1) {
                num++;
            } else {
                num--;
            }
            if (item.num >= 0) {
                type = 2;
            } else {
                type = 1;
            }
            var params = '/cart/cart/cart_add' + '?' + 'access_token=' + this.access_token + '&shop_id=' + item.shop_id + '&product_id=' + id + '&name=' + item.name + '&price=' + item.price + '&num=' + num + '&type=' + type;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.getDetail();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },

        //计算金额
        sum: function sum() {
            this.total = 0;
            this.total += this.form.price / 100 * this.form.num;
            this.total = this.total.toFixed(2);
        },
        upDown: function upDown() {
            if (this.form.num == '' || this.form.num == 0) {
                modal.toast({
                    message: '请添加商品',
                    duration: 1
                });
                return false;
            }
            this.$router.push({
                name: 'userOrder',
                query: {
                    id: this.form.shop_id,
                    name: this.form.shop_name
                }
            });
        }
    }
};

/***/ }),
/* 317 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {}, [_c('div', {
    staticClass: ["banner"]
  }, [_c('image', {
    staticClass: ["banner_img"],
    attrs: {
      "src": _vm.form.product_imgs
    }
  })]), _c('div', {
    staticClass: ["form"]
  }, [_c('div', {
    staticClass: ["formbox"]
  }, [_c('div', {
    staticClass: ["form_name"]
  }, [_c('text', [_vm._v(_vm._s(_vm.form.name))])]), _c('div', {
    staticClass: ["form_p"]
  }), _c('div', {
    staticClass: ["infor"]
  }, [_c('div', {
    staticClass: ["price"]
  }, [_c('text', [_vm._v("￥" + _vm._s((_vm.form.price / 100).toFixed(2)))])]), _c('div', {
    staticClass: ["numbox"]
  }, [(_vm.form.num > 0) ? _c('div', {
    staticClass: ["numbox_span"],
    on: {
      "click": function($event) {
        _vm.add(_vm.form, -1)
      }
    }
  }, [_c('image', {
    staticClass: ["numbox_span_img"],
    attrs: {
      "src": _vm.jian
    }
  })]) : _vm._e(), (_vm.form.num > 0) ? _c('div', {
    staticClass: ["numbox_span", "num"]
  }, [_c('text', [_vm._v(_vm._s(_vm.form.num))])]) : _vm._e(), _c('div', {
    staticClass: ["numbox_span"]
  }, [_c('image', {
    staticClass: ["numbox_span_img"],
    attrs: {
      "src": _vm.jia
    },
    on: {
      "click": function($event) {
        _vm.add(_vm.form, 1)
      }
    }
  })])])]), _vm._m(0), _c('div', {
    staticClass: ["content"]
  }, [_c('text', [_vm._v(_vm._s(_vm.form.content == '' ? '暂无商品描述' : _vm.form.content))])])]), _c('div', {
    staticClass: ["form_bottom", "border_top"]
  }, [_c('div', {
    staticClass: ["form_bottom_text"]
  }, [_c('text', {
    staticClass: ["form_bottom_text_text1"]
  }, [_vm._v("合计：")]), _c('text', {
    staticClass: ["form_bottom_text_text2"]
  }, [_vm._v(_vm._s(_vm.total))])]), _c('div', {
    staticClass: ["bt", "form_bottom_up"],
    on: {
      "click": _vm.upDown
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])])]), _c('div', {
    staticClass: ["header", "header_wrap"]
  }, [_c('div', {
    staticClass: ["header_top"]
  }, [_c('div', {
    staticClass: ["header_top_back"],
    on: {
      "click": _vm.downback
    }
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(1)])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["name"]
  }, [_c('text', [_vm._v("商品描述")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("菜品详情")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 318 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(319)
)

/* script */
__vue_exports__ = __webpack_require__(320)

/* template */
var __vue_template__ = __webpack_require__(321)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\eatHome.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-0953e5d2"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 319 */
/***/ (function(module, exports) {

module.exports = {
  "typeList": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "flexDirection": "row",
    "flexWrap": "wrap",
    "marginTop": "20"
  },
  "type_dl": {
    "width": "152",
    "height": "157",
    "backgroundColor": "#FFFFFF",
    "borderWidth": "1",
    "borderColor": "rgba(92,158,235,0.3)",
    "borderStyle": "solid",
    "boxShadow": "0px 2px 14px 0px rgba(92, 158, 235, 0.3)",
    "borderRadius": "10",
    "marginRight": "27",
    "marginBottom": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "type_dl_4": {
    "width": "152",
    "height": "157",
    "backgroundColor": "#FFFFFF",
    "borderWidth": "1",
    "borderColor": "rgba(92,158,235,0.3)",
    "borderStyle": "solid",
    "boxShadow": "0px 2px 14px 0px rgba(92, 158, 235, 0.3)",
    "borderRadius": "10",
    "marginBottom": "20",
    "alignItems": "center",
    "justifyContent": "center",
    "marginRight": "0"
  },
  "type_dt": {
    "width": "45",
    "height": "45",
    "justifyContent": "center"
  },
  "type_img": {
    "width": "45",
    "height": "45"
  },
  "type_dd": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30",
    "marginTop": "20",
    "justifyContent": "center"
  },
  "list_title": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "paddingLeft": "30",
    "paddingRight": "30",
    "marginTop": "20",
    "marginBottom": "20",
    "flexDirection": "row",
    "justifyContent": "space-between"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "borderWidth": "1",
    "borderColor": "rgba(92,158,235,0.3)",
    "borderStyle": "solid",
    "boxShadow": "0px 2px 14px 0px rgba(92, 158, 235, 0.3)",
    "borderRadius": "10",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30",
    "marginRight": "30"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24",
    "marginLeft": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 320 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _weexUi = __webpack_require__(3);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    components: {
        WxcButton: _weexUi.WxcButton,
        WxcPartLoading: _weexUi.WxcPartLoading
    },
    name: 'eatHome',
    data: function data() {
        return {
            isdown: '',
            isShow: true,
            loadinging: false,
            page: 1,
            shop_type: '',
            list: [],
            typeList: [{
                name: '炒菜',
                icon: _url2.default + '/appimages/i0.png'
            }, {
                name: '麻辣烫',
                icon: _url2.default + '/appimages/i1.png'
            }, {
                name: '烧烤',
                icon: _url2.default + '/appimages/i2.png'
            }, {
                name: '小吃',
                icon: _url2.default + '/appimages/i3.png'
            }, {
                name: '快餐',
                icon: _url2.default + '/appimages/i4.png'
            }, {
                name: '水果',
                icon: _url2.default + '/appimages/i5.png'
            }, {
                name: '冷饮',
                icon: _url2.default + '/appimages/i6.png'
            }, {
                name: '零食',
                icon: _url2.default + '/appimages/i7.png'
            }],
            seach: _url2.default + '/appimages/seach.png',
            img1: _url2.default + '/appimages/img1.png',
            access_token: '3IOdnFNwWZiYZ4RkVamryNXQkdKVU2pblpdqaWtsZ2WUlGdaXViby9aS1KygmabXzMZSn1JhUmWHy6mlramdloObVlpdWKfV2ZrWoaKioceFnFKZUl1SnNTRp5emspObxYNuWmVpWZKIl86ZmlZyhYWOUsmVnVJzh5VZYlqtnZ/Gg25pZmtpmJ1kmnFjsQ=='
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.panduan();
            that.getTypeList();
            that.getList();
        });
    },

    methods: {
        allList: function allList() {
            this.list = [];
            this.page = 1;
            this.shop_type = '';
            this.getList();
        },
        panduan: function panduan() {
            var that = this;
            var params = '/shop/shop/is_meal' + '?' + 'access_token=' + this.access_token;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.isdown = data;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        getTypeList: function getTypeList() {
            var that = this;
            var params = '/shop/shopType/list' + '?' + 'access_token=' + this.access_token +
            //                  '&is_group=2' +
            '&type=2';

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.typeList = data.lists;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        getList: function getList() {
            var that = this;
            var params = '/shop/shop/list' + '?' + 'access_token=' + this.access_token + '&type=2' + '&page=' + this.page + '&shop_type=' + this.shop_type;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.list = that.list.concat(data.lists);
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        downDetail: function downDetail(id) {
            this.$router.push({
                path: '/shop',
                query: {
                    id: id
                }
            });
        },
        down: function down(name) {
            this.$router.push({
                name: name
            });
        },
        getType: function getType(shop_type) {
            this.list = [];
            this.page = 1;
            this.shop_type = shop_type;
            this.getList();
        },
        onloading: function onloading(event) {
            var _this = this;

            modal.toast({
                message: "Loading",
                duration: 1
            });
            this.loadinging = true;
            setTimeout(function () {
                _this.loadinging = false;
                _this.page++;
                _this.getList();
            }, 2000);
        }
    }
};

/***/ }),
/* 321 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["home_head"]
  }, [_c('div', {
    staticClass: ["home_ul"]
  }, [(_vm.isdown == 1) ? _c('div', {
    staticClass: ["home_ul_li"]
  }, [_c('text', {
    staticClass: ["home_ul_active"]
  }, [_vm._v("就餐方")])]) : _vm._e(), (_vm.isdown == 2) ? _c('div', {
    staticClass: ["home_ul_li"],
    on: {
      "click": function($event) {
        _vm.down('serveHome')
      }
    }
  }, [_c('text', [_vm._v("供餐方")])]) : _vm._e()]), _c('div', {
    staticClass: ["seach_wrap"],
    on: {
      "click": function($event) {
        _vm.down('eatSearch')
      }
    }
  }, [_c('div', {
    staticClass: ["seach_wrap_seach_icon"]
  }, [_c('image', {
    staticClass: ["seach_wrap_seach_icon_img"],
    attrs: {
      "src": _vm.seach
    }
  })]), _c('div', {
    staticClass: ["seach_wrap_seach_box"]
  }, [_c('div', {
    staticClass: ["seach_wrap_seach_box_input"],
    on: {
      "click": function($event) {
        _vm.down('eatSearch')
      }
    }
  }, [_vm._v("搜索您想购买的东西")])])])]), _c('div', {
    staticClass: ["flex1"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["typeList"]
  }, _vm._l((_vm.typeList), function(item, index) {
    return _c('div', {
      key: index,
      class: [(index + 1) % 4 == 0 ? 'type_dl_4' : 'type_dl'],
      on: {
        "click": function($event) {
          _vm.getType(item.id)
        }
      }
    }, [_c('div', {
      staticClass: ["type_dt"]
    }, [_c('image', {
      staticClass: ["type_img"],
      attrs: {
        "src": item.imgurl
      }
    })]), _c('div', {
      staticClass: ["type_dd"]
    }, [_c('text', [_vm._v(_vm._s(item.name))])])])
  })), _c('div', {
    staticClass: ["list_title"],
    on: {
      "click": _vm.allList
    }
  }, [_c('text', [_vm._v("店铺")]), _c('text', {
    staticStyle: {
      color: "#666666",
      fontSize: "24px"
    }
  }, [_vm._v("全部店铺")])]), _c('div', {
    staticClass: ["list"]
  }, _vm._l((_vm.list), function(item) {
    return _c('div', {
      staticClass: ["list_dl"],
      on: {
        "click": function($event) {
          _vm.downDetail(item.id)
        }
      }
    }, [_c('div', {
      staticClass: ["list_dl_dt"]
    }, [_c('div', {
      staticClass: ["list_dl_dt_img"],
      on: {
        "click": function($event) {
          _vm.downDetail(item.id)
        }
      }
    }, [_c('image', {
      staticClass: ["list_dl_dt_img1"],
      attrs: {
        "src": item.shop_logo
      },
      on: {
        "click": function($event) {
          _vm.downDetail(item.id)
        }
      }
    })])]), _c('div', {
      staticClass: ["list_dl_dd"]
    }, [_c('div', {
      staticClass: ["list_dl_dd_text"]
    }, [_c('text', [_vm._v(_vm._s(item.shop_name))])]), _c('div', {
      staticClass: ["list_dl_dd_text1"]
    }, [_c('text', {
      staticClass: ["list_dl_dd_text1_text3"]
    }, [_vm._v("人均" + _vm._s(item.person_average) + "￥")]), _c('text', {
      staticClass: ["list_dl_dd_text1_text3"]
    }, [_vm._v("快餐")])])])])
  })), _c('loading', {
    staticClass: ["loading"],
    attrs: {
      "display": _vm.loadinging ? 'show' : 'hide'
    },
    on: {
      "loading": _vm.onloading
    }
  }, [_c('text', {
    staticClass: ["indicator-text"]
  }, [_vm._v("正在加载中...")])])])])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 322 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(323)
)

/* script */
__vue_exports__ = __webpack_require__(324)

/* template */
var __vue_template__ = __webpack_require__(325)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\eatReserve.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-0eb78034"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 323 */
/***/ (function(module, exports) {

module.exports = {
  "bt": {
    "backgroundColor": "#0088FB",
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "dl1": {
    "flexDirection": "row",
    "justifyContent": "space-between"
  },
  "dl1_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(0,0,0,0)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "textarea": {
    "fontSize": "28",
    "backgroundColor": "rgba(0,0,0,0)",
    "height": "110"
  },
  "dd1": {
    "height": "150",
    "paddingTop": "20",
    "paddingBottom": "20"
  },
  "dt1": {
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "dt1_dd": {
    "width": "330"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10",
    "flex": 1
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "right": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 324 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _weexUi = __webpack_require__(3);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var modal = weex.requireModule('modal'); //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'

var picker = weex.requireModule('picker');
exports.default = {
    name: 'eatReserve',
    components: {
        header: _header2.default
    },
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            icon2: _url2.default + '/appimages/icon2.png',
            jia: _url2.default + '/appimages/jia.png',
            jian: _url2.default + '/appimages/jian.png',
            meal_time: '',
            name: '',
            mobile: '',
            num: '',
            content: '',
            data: null,
            time: null,
            access_token: ''
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
        });
    },

    methods: {
        down: function down() {
            this.$router.back();
        },
        cleckData: function cleckData() {
            var that = this;

            picker.pickDate({
                value: this.data
            }, function (ret) {

                if (ret.result === 'success') that.data = ret.data;
            });
        },
        cleckTime: function cleckTime() {
            var that = this;
            picker.pickTime({
                value: this.time
            }, function (ret) {
                if (ret.result === 'success') that.time = ret.data;
            });
        },
        add: function add(item, select) {
            var num = item;
            if (select == 1) {
                num++;
            } else {
                num--;
            }
            this.num = num;
        },

        upDown: function upDown() {
            var that = this;

            if (this.num == '' || this.num == 0 || this.data == '' || that.time == '' || this.name == '' || this.mobile == '') {
                modal.toast({
                    message: '请添加商品',
                    duration: 1
                });
                return false;
            }
            var myreg = /^1[3|4|5|6|7|8][0-9]\d{8}$/;
            if (!myreg.test(that.mobile)) {
                modal.toast({
                    message: '手机格式有误',
                    duration: 1
                });
                return false;
            }
            that.meal_time = that.data + ' ' + that.time;
            var params = '/shop/subscribe/add' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id + '&meal_time=' + this.meal_time + '&name=' + this.name + '&mobile=' + this.mobile + '&num=' + this.num + '&content=' + this.content;

            _request2.default.get(params, function (res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    modal.toast({
                        message: '预约成功',
                        duration: 1
                    });
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            });
        }
    }
};

/***/ }),
/* 325 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["form", "border_top"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _c('div', {
    staticClass: ["form_dl", "dl1"]
  }, [_vm._m(0), _c('div', {
    staticClass: ["dl1_dd"],
    staticStyle: {
      backgroundColor: "transparent"
    }
  }, [_c('div', {
    staticClass: ["numbox"]
  }, [(_vm.num > 0) ? _c('div', {
    staticClass: ["numbox_span"],
    on: {
      "click": function($event) {
        _vm.add(_vm.num, -1)
      }
    }
  }, [_c('image', {
    staticClass: ["numbox_span_img"],
    attrs: {
      "src": _vm.jian
    }
  })]) : _vm._e(), (_vm.num > 0) ? _c('div', {
    staticClass: ["numbox_span", "num"]
  }, [_c('text', [_vm._v(_vm._s(_vm.num))])]) : _vm._e(), _c('div', {
    staticClass: ["numbox_span"]
  }, [_c('image', {
    staticClass: ["numbox_span_img"],
    attrs: {
      "src": _vm.jia
    },
    on: {
      "click": function($event) {
        _vm.add(_vm.num, 1)
      }
    }
  })])])])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(1), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入姓名",
      "value": "",
      "value": (_vm.name)
    },
    on: {
      "input": function($event) {
        _vm.name = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(2), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入手机号",
      "value": "",
      "value": (_vm.mobile)
    },
    on: {
      "input": function($event) {
        _vm.mobile = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(3), _c('div', {
    staticClass: ["dt1"]
  }, [_c('div', {
    staticClass: ["form_dl_dd", "dt1_dd"],
    staticStyle: {
      width: "330px",
      height: "80px"
    },
    on: {
      "click": _vm.cleckData
    }
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请选择日期",
      "disabled": "",
      "value": _vm.data
    },
    on: {
      "change": _vm.cleckData,
      "input": _vm.cleckData
    }
  })]), _c('div', {
    staticClass: ["form_dl_dd", "dt1_dd"],
    staticStyle: {
      width: "330px",
      height: "80px"
    },
    on: {
      "click": _vm.cleckTime
    }
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请选择时间",
      "disabled": "",
      "value": _vm.time
    },
    on: {
      "change": _vm.cleckTime,
      "input": _vm.cleckTime
    }
  })])])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(4), _c('div', {
    staticClass: ["form_dl_dd", "dd1"]
  }, [_c('textarea', {
    staticClass: ["textarea"],
    attrs: {
      "placeholder": "请输入备注",
      "value": (_vm.content)
    },
    on: {
      "input": function($event) {
        _vm.content = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["border_top"],
    staticStyle: {
      paddingLeft: "30px",
      paddingRight: "30px",
      marginTop: "30px"
    }
  }, [_c('div', {
    staticClass: ["bt"],
    on: {
      "click": _vm.upDown
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])])])]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(5)])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("就餐人数：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("姓名：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("手机号：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("就餐时间：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("备注：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("预约")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 326 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(327)
)

/* script */
__vue_exports__ = __webpack_require__(328)

/* template */
var __vue_template__ = __webpack_require__(329)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\eatSearch.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-5d312960"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 327 */
/***/ (function(module, exports) {

module.exports = {
  "header_wrap": {
    "height": "230",
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0
  },
  "header_space": {
    "height": "230"
  },
  "item": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#fcfcfc",
    "paddingTop": "30",
    "marginBottom": "20"
  },
  "list": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "dl1": {
    "paddingBottom": "20",
    "borderBottomWidth": "1",
    "borderBottomColor": "#F5F5F5"
  },
  "dt_img": {
    "width": "111",
    "height": "62"
  },
  "dt_img1": {
    "width": "111",
    "height": "62"
  },
  "dt_img2": {
    "width": "180",
    "height": "180",
    "borderRadius": "10"
  },
  "dt_img2_img1": {
    "width": "180",
    "height": "180"
  },
  "price": {
    "color": "rgba(216,70,63,1)",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "lineHeight": "25",
    "marginTop": "30"
  },
  "list1": {
    "paddingTop": "30",
    "paddingLeft": "30",
    "paddingRight": "30"
  },
  "recom": {
    "height": "60",
    "backgroundColor": "rgba(245,245,245,1)",
    "alignItems": "center",
    "justifyContent": "center",
    "flexDirection": "row"
  },
  "span": {
    "width": "18",
    "height": "1",
    "backgroundColor": "rgba(51,51,51,1)"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderWidth": "1",
    "borderColor": "rgba(92,158,235,0.3)",
    "borderStyle": "solid",
    "boxShadow": "0px 2px 14px 0px rgba(92, 158, 235, 0.3)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24",
    "marginLeft": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 328 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _weexUi = __webpack_require__(3);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    components: {},
    name: 'eatSearch',
    data: function data() {
        return {
            seach: _url2.default + '/appimages/seach.png',
            back: _url2.default + '/appimages/back.png',
            img1: _url2.default + '/appimages/img1.png',
            shou: _url2.default + '/appimages/shou.png',
            seachList: [],
            page: '1',
            num: 10,
            name: '',
            recommend_shop: [],
            access_token: ''
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
        });
    },

    methods: {
        down: function down(item, type) {
            if (type == 1) {
                this.$router.push({
                    name: 'shop',
                    query: {
                        id: item.shop_id
                    }
                });
            }
            if (type == 3) {
                this.$router.push({
                    name: 'shop',
                    query: {
                        id: item.id
                    }
                });
            }
            if (type == 2) {
                this.$router.push({
                    name: 'eatDetail',
                    query: {
                        id: item.id
                    }
                });
            }
        },
        downback: function downback(name) {
            this.$router.back();
        },
        onchange: function onchange() {
            this.getSeachList();
        },
        getSeachList: function getSeachList() {
            var that = this;
            var params = '/shop/product/app_product_list' + '?' + 'access_token=' + this.access_token + '&name=' + this.name + '&page=' + this.page + '&num=100';

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.seachList = data.lists;
                    that.recommend_shop = data.recommend_shop;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        }
    }

};

/***/ }),
/* 329 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["flex1"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _c('div', {
    staticClass: ["list", "list2"]
  }, _vm._l((_vm.seachList), function(item) {
    return _c('div', {
      staticClass: ["item"]
    }, [_c('div', {
      staticClass: ["list_dl", "dl1"],
      on: {
        "click": function($event) {
          _vm.down(item, 1)
        }
      }
    }, [_c('div', {
      staticClass: ["list_dl_dt"]
    }, [_c('div', {
      staticClass: ["dt_img"]
    }, [_c('image', {
      staticClass: ["dt_img1"],
      attrs: {
        "src": item.shop_logo
      }
    })])]), _c('div', {
      staticClass: ["list_dl_dd"]
    }, [_c('div', {
      staticClass: ["list_dl_dd_text"]
    }, [_c('text', [_vm._v(_vm._s(item.shop_name))])]), _c('div', {
      staticClass: ["list_dl_dd_text1"]
    }, [_c('text', {
      staticClass: ["list_dl_dd_text1_text3"]
    }, [_vm._v("人均" + _vm._s(item.person_average) + "￥")]), _c('text', {
      staticClass: ["list_dl_dd_text1_text3"]
    }, [_vm._v(_vm._s(item.shop_type_name))])])])]), _vm._l((item.product), function(ite) {
      return _c('div', {
        staticClass: ["list_dl", "dl2"],
        on: {
          "click": function($event) {
            _vm.down(ite, 2)
          }
        }
      }, [_c('div', {
        staticClass: ["list_dl_dt"]
      }, [_c('div', {
        staticClass: ["dt_img", "dt_img2"]
      }, [_c('image', {
        staticClass: ["dt_img2_img1"],
        attrs: {
          "src": ite.product_imgs
        }
      })])]), _c('div', {
        staticClass: ["list_dl_dd"]
      }, [_c('div', {
        staticClass: ["list_dl_dd_text"]
      }, [_c('text', [_vm._v(_vm._s(ite.name))])]), _c('div', {
        staticClass: ["list_dl_dd_text1"]
      }, [_c('text', {
        staticClass: ["list_dl_dd_text1_text3"]
      }, [_vm._v("人均" + _vm._s(item.person_average) + "￥")]), _c('text', {
        staticClass: ["list_dl_dd_text1_text3"]
      }, [_vm._v(_vm._s(item.shop_type_name))])]), _c('div', {
        staticClass: ["price"]
      }, [_c('text', [_vm._v("￥" + _vm._s((ite.price / 100).toFixed(2)))])])])])
    })], 2)
  })), (_vm.recommend_shop.length > 0) ? _c('div', {
    staticClass: ["recom"]
  }, [_c('div', {
    staticClass: ["span"]
  }), _c('div', {
    staticClass: ["dl"]
  }, [_c('div', {
    staticClass: ["dt"]
  }, [_c('image', {
    staticClass: ["dt_img"],
    attrs: {
      "src": _vm.shou
    }
  })]), _vm._m(0)]), _c('div', {
    staticClass: ["span"]
  })]) : _vm._e(), _c('div', {
    staticClass: ["list", "list1"]
  }, _vm._l((_vm.recommend_shop), function(item) {
    return _c('div', {
      staticClass: ["dl"],
      on: {
        "click": function($event) {
          _vm.down(item, 3)
        }
      }
    }, [_c('div', {
      staticClass: ["dt"]
    }, [_c('div', {
      staticClass: ["dt_img"]
    }, [_c('image', {
      staticClass: ["img1"],
      attrs: {
        "src": item.shop_logo
      }
    })])]), _c('div', {
      staticClass: ["dd"]
    }, [_c('div', {
      staticClass: ["text"]
    }, [_c('text', [_vm._v(_vm._s(item.shop_name))])]), _c('div', {
      staticClass: ["text1"]
    }, [_c('text', {
      staticClass: ["text3"]
    }, [_vm._v("人均" + _vm._s(item.person_average) + "￥")]), _c('text', {
      staticClass: ["text3"]
    }, [_vm._v(_vm._s(item.name))])])])])
  }))])]), _c('div', {
    staticClass: ["header_wrap"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.downback
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _c('div', {
    staticClass: ["seach_wrap"]
  }, [_c('div', {
    staticClass: ["seach_wrap_seach_icon"]
  }, [_c('image', {
    staticClass: ["seach_wrap_seach_icon_img"],
    attrs: {
      "src": _vm.seach
    }
  })]), _c('div', {
    staticClass: ["seach_wrap_seach_box"]
  }, [_c('input', {
    staticClass: ["seach_wrap_seach_box_input"],
    attrs: {
      "type": "text",
      "placeholder": "搜索您想购买的东西",
      "id": "",
      "value": (_vm.name)
    },
    on: {
      "change": _vm.onchange,
      "input": [function($event) {
        _vm.name = $event.target.attr.value
      }, _vm.onchange]
    }
  })])])])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["dd"]
  }, [_c('text', [_vm._v("为你推荐")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 330 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(331)
)

/* script */
__vue_exports__ = __webpack_require__(332)

/* template */
var __vue_template__ = __webpack_require__(333)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\orderStatus.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-7a2e1920"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 331 */
/***/ (function(module, exports) {

module.exports = {
  "stats_box": {
    "alignItems": "center"
  },
  "img": {
    "width": "89",
    "height": "88",
    "borderRadius": "44",
    "marginTop": "40"
  },
  "text": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(53,136,235,1)",
    "lineHeight": "25",
    "marginTop": "40"
  },
  "btbox": {
    "justifyContent": "space-between",
    "flexDirection": "row",
    "marginTop": "80"
  },
  "bt1": {
    "justifyContent": "center",
    "alignItems": "center",
    "width": "180",
    "height": "80",
    "borderWidth": "1",
    "borderStyle": "solid",
    "borderColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "color": "#3588EB",
    "marginTop": 0,
    "marginRight": "15",
    "marginBottom": 0,
    "marginLeft": "15"
  },
  "stats_box1_bt1": {
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(244,93,63,1)",
    "color": "#F45D3F"
  },
  "stats_box1_bt": {
    "backgroundColor": "rgba(244,93,63,1)"
  },
  "stats_box1_text": {
    "color": "#F45D3F"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "color": "#FFFFFF",
    "justifyContent": "center",
    "alignItems": "center",
    "width": "180",
    "height": "80",
    "backgroundColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginTop": 0,
    "marginLeft": "20"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 332 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    name: 'orderStatus',
    components: {
        header: _header2.default
    },
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            icon3: _url2.default + '/appimages/icon3.png',
            icon4: _url2.default + '/appimages/icon4.png'
        };
    },

    methods: {
        downback: function downback() {
            this.$router.back();
        },
        down: function down(name) {
            this.$router.push({
                name: name
            });
        },
        wxcButtonClicked: function wxcButtonClicked(e) {
            var modal = weex.requireModule('modal');
            modal.toast({
                message: "This is a toast",
                duration: 1
            });
            console.log(e);
        }
    }
};

/***/ }),
/* 333 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.downback
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(0)]), _c('div', {
    staticClass: ["stats_box"]
  }, [_c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon3"],
    attrs: {
      "src": _vm.icon3
    }
  })]), _c('div', {
    staticClass: ["text"]
  }, [_vm._v("您的订单已提交成功")]), _c('div', {
    staticClass: ["btbox"]
  }, [_c('div', {
    staticClass: ["bt1"],
    on: {
      "click": function($event) {
        _vm.down('eatHome')
      }
    }
  }, [_c('text', {
    staticStyle: {
      color: "#3588EB"
    }
  }, [_vm._v("返回首页")])]), _c('div', {
    staticClass: ["bt"],
    on: {
      "click": function($event) {
        _vm.down('eatHome')
      }
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("查看订单")])])])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("提交订单")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 334 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(335)
)

/* script */
__vue_exports__ = __webpack_require__(336)

/* template */
var __vue_template__ = __webpack_require__(337)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\salesRecords.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-0f8962f4"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 335 */
/***/ (function(module, exports) {

module.exports = {
  "img": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(216,70,63,1)",
    "lineHeight": "25"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30",
    "flex": 1
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 336 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexUi = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    components: {
        header: _header2.default,
        WxcPartLoading: _weexUi.WxcPartLoading
    },
    name: 'salesRecords',
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            list: [],
            isShow: true,
            page: 1,
            loadinging: false,
            access_token: '3IOdnFNwWZiZYoRkVamryNXQkdKVU2pb2MyYmqWiolSNg5idoZep2tOW0KycmFqdhZJSkVKYoqja1KCaWnNWVI2DpKekn6vP1Z/LnFVuWpeFjlLIn56gmtPdlp+cW25UlZlWZFOco8fNU5xaVWBa18zPlYdqYmVulZxnanFvZq8='
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getList();
        });
    },

    methods: {
        down: function down() {
            this.$router.back();
        },
        getList: function getList() {
            var that = this;
            var params = '/shop/order/orderList' + '?' + 'access_token=' + this.access_token + '&column=1' + '&page=' + this.page;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.list = that.list.concat(data.lists);
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        onloading: function onloading(event) {
            var _this = this;

            this.loadinging = true;
            setTimeout(function () {
                _this.loadinging = false;
                _this.page++;
                _this.getList();
            }, 1000);
        }
    }
};

/***/ }),
/* 337 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["linelist"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _vm._l((_vm.list), function(item) {
    return _c('div', {
      staticClass: ["linebox"]
    }, [_c('div', {
      staticClass: ["linebox_text"]
    }, [_c('text', [_vm._v(_vm._s(item.name) + " x" + _vm._s(item.quantity))])]), _c('div', {
      staticClass: ["img"]
    }, [_c('text', [_vm._v("￥" + _vm._s((item.moneySum / 100).toFixed(2)))])])])
  }), _c('loading', {
    staticClass: ["loading"],
    attrs: {
      "display": _vm.loadinging ? 'show' : 'hide'
    },
    on: {
      "loading": _vm.onloading
    }
  }, [_c('text', {
    staticClass: ["indicator-text"]
  }, [_vm._v("正在加载中...")])])], 2)]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(0)])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("售卖统计")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 338 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(339)
)

/* script */
__vue_exports__ = __webpack_require__(340)

/* template */
var __vue_template__ = __webpack_require__(341)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\serveHome.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-109947ce"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 339 */
/***/ (function(module, exports) {

module.exports = {
  "user_box": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "marginTop": "40",
    "paddingBottom": "40",
    "flexDirection": "row",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid"
  },
  "imgbox": {
    "width": "150",
    "height": "150",
    "borderRadius": "10",
    "borderWidth": "1",
    "borderColor": "#F0F1F4",
    "borderStyle": "solid"
  },
  "imgbox_img": {
    "width": "150",
    "height": "150"
  },
  "userbox_text": {
    "flex": 1,
    "paddingLeft": "30"
  },
  "tex1": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "tex2": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "tex": {
    "marginTop": "40",
    "flexDirection": "row",
    "alignItems": "flex-start",
    "display": "flex",
    "justifyContent": "space-between"
  },
  "bt": {
    "flex": 1,
    "justifyContent": "center",
    "alignItems": "center",
    "width": "680",
    "height": "80",
    "backgroundColor": "rgba(0,148,242,1)",
    "borderRadius": "10",
    "marginTop": "20",
    "color": "#FFFFFF"
  },
  "stats_box": {
    "alignItems": "center",
    "marginTop": "40"
  },
  "statsbox_img": {
    "width": "88",
    "height": "88",
    "borderRadius": "44",
    "marginTop": "40",
    "justifyContent": "center",
    "alignItems": "center",
    "backgroundColor": "#0088FB"
  },
  "statsbox_text": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(53,136,235,1)",
    "lineHeight": "25",
    "marginTop": "40"
  },
  "texts": {
    "color": "#FFFFFF"
  },
  "weui-switch": {
    "display": "block",
    "width": "105",
    "height": "73",
    "outline": 0,
    "borderRadius": "35",
    "boxSizing": "border-box",
    "backgroundColor": "#DFDFDF",
    "borderWidth": "1",
    "cursor": "pointer",
    "marginTop": "40"
  },
  "weui-switch-on": {
    "display": "block",
    "width": "105",
    "height": "73",
    "outline": 0,
    "borderRadius": "35",
    "boxSizing": "border-box",
    "borderWidth": "1",
    "cursor": "pointer",
    "marginTop": "40",
    "borderColor": "#DFDFDF",
    "backgroundColor": "#DFDFDF"
  },
  "before": {
    "position": "absolute",
    "top": 0,
    "right": 0,
    "width": "67",
    "height": "67",
    "marginTop": "2",
    "borderRadius": "33",
    "backgroundColor": "#FFFFFF",
    "boxShadow": "0 1px 3px rgba(0, 0, 0, 0.4)"
  },
  "after": {
    "position": "absolute",
    "top": 0,
    "left": 0,
    "width": "67",
    "height": "67",
    "marginTop": "2",
    "borderRadius": "33",
    "backgroundColor": "#FFFFFF",
    "boxShadow": "0 1px 3px rgba(0, 0, 0, 0.4)"
  },
  "isChecked": {
    "width": "105",
    "height": "73",
    "position": "absolute",
    "left": 0,
    "paddingTop": "0",
    "paddingBottom": "0",
    "paddingLeft": "10",
    "paddingRight": "10",
    "lineHeight": "60",
    "fontSize": "36",
    "borderRadius": "35"
  },
  "isChecked1": {
    "width": "105",
    "height": "73",
    "position": "absolute",
    "left": 0,
    "paddingTop": "0",
    "paddingBottom": "0",
    "paddingLeft": "10",
    "paddingRight": "10",
    "lineHeight": "60",
    "fontSize": "36",
    "borderRadius": "35",
    "userSelect": "none",
    "backgroundColor": "rgba(0,148,242,1)"
  },
  "isChecked2": {
    "width": "105",
    "height": "73",
    "position": "absolute",
    "paddingTop": "0",
    "paddingBottom": "0",
    "paddingLeft": "10",
    "paddingRight": "10",
    "lineHeight": "60",
    "fontSize": "36",
    "borderRadius": "35",
    "color": "#7A7A7A",
    "right": 0,
    "userSelect": "none"
  },
  "weex-ct": {
    "borderColor": "#DDDDDD"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "textAlign": "center"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "right": 0,
    "bottom": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "right": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 340 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _weexUi = __webpack_require__(3);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    components: {
        WxcButton: _weexUi.WxcButton
    },
    name: 'serveHome',
    data: function data() {
        return {
            isdown: '',
            icon0: _url2.default + '/appimages/icon0.png',
            icon1: _url2.default + '/appimages/icon1.png',
            img: 'https://gw.alicdn.com/tfs/TB1yopEdgoQMeJjy1XaXXcSsFXa-640-302.png',
            shop_info: {},
            // isChecked: ''
            isChecked: true,
            show: false,
            access_token: '3IOdnFNwWZiYZ4RkVamryNXQkdKVU2pblpdqaWtsZ2WUlGdaXViby9aS1KygmabXzMZSn1JhUmWHy6mlramdloObVlpdWKfV2ZrWoaKioceFnFKZUl1SnNTRp5emspObxYNuWmVpWZKIl86ZmlZyhYWOUsmVnVJzh5VZYlqtnZ/Gg25pZmtpl55nm2hjsQ=='
        };
    },
    created: function created() {
        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.panduan();
            that.getList();
        });
    },

    computed: {
        direction: function direction() {
            if (this.texts) {
                return this.texts.split('|');
            } else {
                return [];
            }
        }
    },
    methods: {
        panduan: function panduan() {
            var that = this;
            var params = '/shop/shop/is_meal' + '?' + 'access_token=' + this.access_token;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.isdown = data;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        getList: function getList() {
            var that = this;
            var params = '/shop/shop/details' + '?' + 'access_token=' + this.access_token;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    if (data.lists.length > 0) {
                        that.shop_info = data.lists[0];
                        that.isChecked = data.lists[0].status == 1 ? true : false;
                        that.show = true;
                    }
                } else {
                    that.show = false;
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        down: function down(name) {
            this.$router.push({
                name: name
            });
        },
        toggle: function toggle() {
            var that = this;
            this.isChecked = !this.isChecked;
            var status = this.isChecked ? 1 : 2;
            var params = '/shop/shop/save' + '?' + 'access_token=' + this.access_token + '&status=' + status;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.getList();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
            if (this.isChecked == true) {
                this.ifaccelerate = 2;
            } else {
                this.ifaccelerate = 1;
            }
        }
    }
};

/***/ }),
/* 341 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    staticClass: ["home_ul"]
  }, [(_vm.isdown == 1) ? _c('div', {
    staticClass: ["home_ul_li"],
    on: {
      "click": function($event) {
        _vm.down('eatHome')
      }
    }
  }, [_c('text', [_vm._v("就餐方")])]) : _vm._e(), (_vm.isdown == 2) ? _c('div', {
    staticClass: ["home_ul_li"]
  }, [_c('text', {
    staticClass: ["home_ul_active"]
  }, [_vm._v("供餐方")])]) : _vm._e()]), (_vm.show) ? _c('div', {
    staticClass: ["model"]
  }, [_c('div', {
    staticClass: ["user_box"]
  }, [_c('div', {
    staticClass: ["imgbox"]
  }, [_c('image', {
    staticClass: ["imgbox_img"],
    attrs: {
      "src": _vm.shop_info.shop_logo
    }
  })]), _c('div', {
    staticClass: ["text", "userbox_text"]
  }, [_c('div', {
    staticClass: ["tex1"]
  }, [_c('text', [_vm._v(_vm._s(_vm.shop_info.shop_name))])]), _c('div', {
    staticClass: ["tex"]
  }, [_c('div', {
    staticClass: ["tex2"]
  }, [_c('text', [_vm._v("店铺状态：" + _vm._s(_vm.shop_info.status == 1 ? '营业中' : '休息中'))])]), _c('div', {
    staticClass: ["switch_btn"]
  }, [_c('switch', {
    staticClass: ["switch"],
    attrs: {
      "checked": _vm.isChecked
    },
    on: {
      "change": _vm.toggle
    }
  })])])])]), _c('div', {
    staticClass: ["linelist"]
  }, [_c('div', {
    staticClass: ["linebox"],
    on: {
      "click": function($event) {
        _vm.down('dishes')
      }
    }
  }, [_vm._m(0), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])]), _c('div', {
    staticClass: ["linebox"],
    on: {
      "click": function($event) {
        _vm.down('shopOrder')
      }
    }
  }, [_vm._m(1), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])]), _c('div', {
    staticClass: ["linebox"],
    on: {
      "click": function($event) {
        _vm.down('shopManage')
      }
    }
  }, [_vm._m(2), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])])])]) : _vm._e(), (_vm.show == false) ? _c('div', {
    staticClass: ["model"]
  }, [_c('div', {
    staticClass: ["stats_box"]
  }, [_c('div', {
    staticClass: ["statsbox_img"]
  }, [_c('image', {
    staticClass: ["icon0"],
    attrs: {
      "src": _vm.icon0
    }
  })]), _vm._m(3), _c('div', {
    staticClass: ["bt"],
    on: {
      "click": function($event) {
        _vm.down('applyShop')
      }
    }
  }, [_c('text', {
    staticClass: ["texts"]
  }, [_vm._v("申请开店")])])])]) : _vm._e()])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text"]
  }, [_c('text', [_vm._v("菜品管理")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text"]
  }, [_c('text', [_vm._v("我的订单")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text"]
  }, [_c('text', [_vm._v("店铺管理")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["statsbox_text"]
  }, [_c('text', [_vm._v("您还没有开店,快去开店吧")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 342 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(343)
)

/* script */
__vue_exports__ = __webpack_require__(344)

/* template */
var __vue_template__ = __webpack_require__(345)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\shop.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-f5bc2c34"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 343 */
/***/ (function(module, exports) {

module.exports = {
  "header": {
    "backgroundColor": "rgba(0,0,0,0)",
    "paddingLeft": "30",
    "paddingRight": "30"
  },
  "fixed": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "width": "750",
    "height": "380"
  },
  "isFixed": {
    "backgroundColor": "rgba(255,255,255,1)"
  },
  "banner_img": {
    "height": "380"
  },
  "infor_dl": {
    "position": "absolute",
    "height": "380",
    "width": "750",
    "flexDirection": "row",
    "paddingTop": "143",
    "paddingLeft": "30",
    "paddingRight": "30"
  },
  "infor_dt": {
    "width": "150",
    "height": "150"
  },
  "infor_img": {
    "width": "150",
    "height": "150"
  },
  "infor_name": {
    "fontSize": "32",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "marginBottom": "20"
  },
  "infor_dd": {
    "marginLeft": "30",
    "flex": 1
  },
  "infor_span": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(107,113,120,1)",
    "lineHeight": "30",
    "marginBottom": "20"
  },
  "infor_text": {
    "flexDirection": "row"
  },
  "infor_ren": {
    "fontSize": "20",
    "fontWeight": "400",
    "color": "rgba(107,113,120,1)",
    "lineHeight": "30",
    "marginRight": "20"
  },
  "infor_type": {
    "fontSize": "20",
    "fontWeight": "400",
    "color": "rgba(107,113,120,1)",
    "lineHeight": "30",
    "marginRight": "20"
  },
  "infor_bt_wrap": {
    "flexDirection": "row",
    "justifyContent": "flex-end"
  },
  "infor_btn": {
    "width": "200",
    "height": "60",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(0,0,0,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "alignItems": "center",
    "fontSize": "28"
  },
  "main": {
    "paddingTop": "400",
    "flexDirection": "row",
    "flex": 1
  },
  "nav": {
    "width": "174",
    "backgroundColor": "#F1F2F9"
  },
  "li_active": {
    "width": "174",
    "height": "60",
    "justifyContent": "center",
    "paddingLeft": "30",
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "backgroundColor": "#FFFFFF"
  },
  "navfixed": {
    "position": "fixed",
    "left": 0,
    "top": "400"
  },
  "main_li": {
    "width": "174",
    "height": "60",
    "justifyContent": "center",
    "paddingLeft": "30",
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25"
  },
  "list": {
    "marginLeft": "20",
    "paddingTop": "30",
    "paddingRight": 0,
    "paddingBottom": "30",
    "paddingLeft": 0,
    "flex": 1,
    "marginRight": "30"
  },
  "active": {
    "marginLeft": "190"
  },
  "dt_img": {
    "width": 180,
    "height": 180,
    "borderRadius": 10
  },
  "dt_img1": {
    "width": "180",
    "height": "180"
  },
  "dl2_dd": {
    "flex": 1
  },
  "dl2_price": {
    "color": "rgba(216,70,63,1)",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "lineHeight": "25"
  },
  "dl2_box": {
    "marginTop": "30",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "butn": {
    "position": "fixed",
    "left": "30",
    "bottom": "30",
    "width": "116",
    "height": "116",
    "backgroundColor": "#FFFFFF",
    "boxShadow": "0px 2px 14px 0px rgba(92, 158, 235, 0.3)",
    "borderRadius": "58",
    "justifyContent": "center",
    "alignItems": "center"
  },
  "form_bottom_text": {
    "paddingLeft": "130",
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "left": {
    "justifyContent": "center"
  },
  "btn_img": {
    "width": "64",
    "height": "58"
  },
  "dian": {
    "width": "36",
    "height": "36",
    "position": "absolute",
    "right": "15",
    "top": "15",
    "backgroundColor": "rgba(216,70,63,1)",
    "borderRadius": "18",
    "alignItems": "center",
    "justifyContent": "center",
    "fontSize": "24",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "backgroundColor": "#0088FB",
    "width": "200",
    "marginRight": "30"
  },
  "formbox": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "borderRadius": "20",
    "backgroundColor": "#FFFFFF",
    "paddingTop": "60"
  },
  "close": {
    "width": "34",
    "height": "34"
  },
  "close_img": {
    "width": "34",
    "height": "34"
  },
  "spanText": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30",
    "marginBottom": "30",
    "marginTop": "30"
  },
  "ul": {
    "height": "300"
  },
  "ul_li": {
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center",
    "height": "50",
    "marginBottom": "30"
  },
  "ul_name": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(51,51,51,1)",
    "lineHeight": "30"
  },
  "ul_price": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(216,70,63,1)",
    "lineHeight": "25"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "100"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "right": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 344 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexUi = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');

//  import access_token from '../access_token'
var stream = weex.requireModule('stream');
exports.default = {
    components: {
        WxcPartLoading: _weexUi.WxcPartLoading,
        WxcPopup: _weexUi.WxcPopup
    },
    name: 'shop',

    data: function data() {
        return {

            img0: _url2.default + '/appimages/img0.png',
            back: _url2.default + '/appimages/back.png',
            bg: _url2.default + '/appimages/bg.png',
            icon2: _url2.default + '/appimages/icon2.png',
            icon5: _url2.default + '/appimages/icon5.png',
            img3: _url2.default + '/appimages/img3.png',
            jia: _url2.default + '/appimages/jia.png',
            jian: _url2.default + '/appimages/jian.png',
            img1: _url2.default + '/appimages/img1.png',
            close: _url2.default + '/appimages/close.png',
            show: false,
            searchBarFixed: false,
            isShow: false,
            loadinging: false,
            form: '',
            page: 1,
            num: 20,
            list: [],
            shopingList: [],
            count: '',
            typeList: [],
            product_type: '',
            total: 0.00,
            access_token: '3IOdnFNwWZiYZ4RkVamryNXQkdKVU2pblpdqaWtsZ2WUlGdaXViby9aS1KygmabXzMZSn1JhUmWHy6mlramdloObVlpdWKfV2ZrWoaKioceFnFKZUl1SnNTRp5emspObxYNuWmVpWZKIl86ZmlZyhYWOUsmVnVJzh5VZYlqtnZ/Gg25pZmtpmJ1kmnFjsQ=='
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getDetail();
            that.getList();
            that.getTypeList();
            that.getShopingList();
        });

        window.addEventListener("touchmove", this.handleScroll);
        window.addEventListener("touchend", this.handleScroll);
        window.addEventListener('scroll', this.handleScroll);
    },

    methods: {
        down: function down(name, item) {
            var id = '';
            if (name == 'eatReserve') {
                id = this.$route.query.id;
            } else {
                id = item.id;
            }
            this.$router.push({
                name: name,
                query: {
                    id: id
                }
            });
        },
        downback: function downback() {
            this.$router.back();
        },
        alert: function alert() {
            this.show = true;
        },
        closeAlert: function closeAlert() {
            this.show = false;
        },
        getType: function getType(product_type) {
            this.product_type = product_type;
            this.list = [];
            this.page = 1;
            this.getList();
        },
        getDetail: function getDetail() {
            var that = this;
            var params = '/shop/shop/details' + '?' + 'access_token=' + this.access_token + '&id=' + this.$route.query.id;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.form = data.lists[0];
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        getList: function getList() {
            var that = this;
            var params = '/shop/product/product_list' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id + '&product_type=' + this.product_type + '&page=' + this.page + '&num=' + this.num;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.list = that.list.concat(data.lists);
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        getShopingList: function getShopingList() {
            var that = this;
            var params = '/cart/cart/cart_list' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.shopingList = data.lists;
                    that.count = data.count;
                    that.sum();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        getTypeList: function getTypeList() {
            var that = this;
            var params = '/shop/product/product_type_list' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id + '&type=2';

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.typeList = data.lists;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        add: function add(item, select) {
            var that = this;
            var list = this.list;
            var id = item.id;
            var num = item.num;
            var type = 1;
            if (id) {
                id = item.id;
            } else {
                id = item.product_id;
            }
            for (var i = 0; i < list.length; i++) {
                if (id == list[i].id) {
                    if (select == 1) {
                        num++;
                        list[i].num++;
                        that.count++;
                    } else {
                        num--;
                        list[i].num--;
                        that.count--;
                    }
                }
            }
            if (item.num >= 0) {
                type = 2;
            } else {
                type = 1;
            }
            that.sum();
            var params = '/cart/cart/cart_add' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id + '&product_id=' + id + '&name=' + item.name + '&price=' + item.price + '&num=' + num + '&type=' + type;

            _request2.default.get(params, function (res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.list = list;
                    that.getShopingList();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            });
        },

        //计算金额
        sum: function sum() {
            this.total = 0;
            for (var i = 0; i < this.shopingList.length; i++) {
                this.total += this.shopingList[i].price / 100 * this.shopingList[i].num;
            }
        },
        upDown: function upDown() {
            if (this.count == '' || this.count == 0) {
                modal.toast({
                    message: '请选择订单',
                    duration: 1
                });
                return false;
            }
            this.$router.push({
                path: '/userOrder',
                query: {
                    id: this.$route.query.id,
                    name: this.form.shop_name
                }
            });
        },
        onloading: function onloading(event) {
            var _this = this;

            modal.toast({
                message: "Loading",
                duration: 1
            });
            this.loadinging = true;
            setTimeout(function () {
                _this.loadinging = false;
                _this.page++;
                _this.getList();
            }, 1000);
        },
        handleScroll: function handleScroll() {
            var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
            var bodyHeight = document.body.clientHeight;
            var winHeight = document.documentElement.clientHeight;
            var height = bodyHeight - scrollTop;
            if (document.querySelector('#searchBar')) {
                var offsetTop = document.querySelector('#searchBar').offsetTop;

                //                  if(scrollTop > (offsetTop - 100)) {
                //                      this.searchBarFixed = true
                //                  } else {
                //                      this.searchBarFixed = false
                //                  }
            }
        }
    }
};

/***/ }),
/* 345 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["main"],
    attrs: {
      "id": "searchBar"
    }
  }, [_c('div', {
    staticClass: ["nav", "navfixed"],
    class: {
      navfixed: _vm.searchBarFixed
    }
  }, [_c('div', {
    staticClass: ["main_li"],
    class: [_vm.product_type == '' ? 'li_active' : 'main_li'],
    on: {
      "click": function($event) {
        _vm.getType('')
      }
    }
  }, [_c('text', [_vm._v("全部")])]), _vm._l((_vm.typeList), function(item) {
    return _c('div', {
      staticClass: ["main_li"],
      class: [_vm.product_type == item.id ? 'li_active' : 'main_li'],
      on: {
        "click": function($event) {
          _vm.getType(item.id)
        }
      }
    }, [_c('text', [_vm._v(_vm._s(item.name))])])
  })], 2), _c('div', {
    staticClass: ["list", "active"],
    class: {
      active: _vm.searchBarFixed
    }
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_vm._l((_vm.list), function(item, index) {
    return _c('div', {
      staticClass: ["list_dl", "dl2"]
    }, [_c('div', {
      staticClass: ["list_dl_dt"],
      on: {
        "click": function($event) {
          _vm.down('eatDetail', item)
        }
      }
    }, [_c('div', {
      staticClass: ["list_dl_dt_img", "dt_img"]
    }, [_c('image', {
      staticClass: ["dt_img1"],
      attrs: {
        "src": item.product_imgs
      }
    })])]), _c('div', {
      staticClass: ["list_dl_dd", "dl2_dd"]
    }, [_c('div', {
      staticClass: ["list_dl_dd_text"]
    }, [_c('text', [_vm._v(_vm._s(item.name))])]), _c('div', {
      staticClass: ["list_dl_dd_text1"]
    }, [_c('text', {
      staticClass: ["list_dl_dd_text1_text3"]
    }, [_c('text', [_vm._v("人均￥" + _vm._s((item.price / 100).toFixed(2)))])]), _c('text', {
      staticClass: ["list_dl_dd_text1_text3"]
    }, [_c('text', [_vm._v(_vm._s(item.type_name))])])]), _c('div', {
      staticClass: ["dl2_box"]
    }, [_c('div', {
      staticClass: ["dl2_price"]
    }, [_c('text', [_vm._v("￥" + _vm._s((item.price / 100).toFixed(2)))])]), _c('div', {
      staticClass: ["numbox"]
    }, [(item.num > 0) ? _c('div', {
      staticClass: ["numbox_span"],
      on: {
        "click": function($event) {
          _vm.add(item, -1)
        }
      }
    }, [_c('image', {
      staticClass: ["numbox_span_img"],
      attrs: {
        "src": _vm.jian
      },
      on: {
        "click": function($event) {
          _vm.add(item, -1)
        }
      }
    })]) : _vm._e(), (item.num > 0) ? _c('div', {
      staticClass: ["numbox_span", "num"]
    }, [_c('text', [_vm._v(_vm._s(item.num))])]) : _vm._e(), _c('div', {
      staticClass: ["numbox_span"],
      on: {
        "click": function($event) {
          _vm.add(item, 1)
        }
      }
    }, [_c('image', {
      staticClass: ["numbox_span_img"],
      attrs: {
        "src": _vm.jia
      },
      on: {
        "click": function($event) {
          _vm.add(item, 1)
        }
      }
    })])])])])])
  }), _c('loading', {
    staticClass: ["loading"],
    attrs: {
      "display": _vm.loadinging ? 'show' : 'hide'
    },
    on: {
      "loading": _vm.onloading
    }
  }, [_c('wxc-part-loading', {
    attrs: {
      "show": _vm.isShow
    }
  }), _c('text', {
    staticClass: ["indicator-text"]
  }, [_vm._v("正在加载中...")])], 1)], 2)])]), _c('div', {
    staticClass: ["fixed"]
  }, [_c('div', {
    staticClass: ["stop_infor"]
  }, [_c('div', {
    staticClass: ["banner"]
  }, [_c('image', {
    staticClass: ["img", "banner_img"],
    attrs: {
      "src": _vm.bg
    }
  })]), _c('div', {
    staticClass: ["infor_dl"]
  }, [_c('div', {
    staticClass: ["infor_dt"]
  }, [_c('image', {
    staticClass: ["infor_img"],
    attrs: {
      "src": _vm.form.shop_logo
    }
  })]), _c('div', {
    staticClass: ["infor_dd"]
  }, [_c('div', {
    staticClass: ["infor_name"]
  }, [_c('text', [_vm._v(_vm._s(_vm.form.shop_name))])]), _c('div', {
    staticClass: ["infor_span"]
  }, [_c('text', [_vm._v("位置：" + _vm._s(_vm.form.city) + _vm._s(_vm.form.area) + _vm._s(_vm.form.address))])]), _c('div', {
    staticClass: ["infor_text"]
  }, [_c('text', {
    staticClass: ["infor_ren"]
  }, [_c('text', [_vm._v("人均" + _vm._s(_vm.form.person_average) + "￥")])]), _c('text', {
    staticClass: ["infor_type"]
  }, [_c('text', [_vm._v(_vm._s(_vm.form.shop_type_name))])])]), _c('div', {
    staticClass: ["infor_bt_wrap"]
  }, [_c('div', {
    staticClass: ["infor_btn"],
    on: {
      "click": function($event) {
        _vm.down('eatReserve', '')
      }
    }
  }, [_c('text', [_vm._v("预约")])])])])])]), _c('div', {
    staticClass: ["header", "header_wrap"],
    class: {
      isFixed: _vm.searchBarFixed
    }
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.downback
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), (_vm.searchBarFixed) ? _c('div', {
    staticClass: ["title"]
  }, [_c('text', [_vm._v("店铺")])]) : _vm._e()])])]), _c('wxc-popup', {
    attrs: {
      "popupColor": "rgb(255,255,255)",
      "show": _vm.show,
      "pos": "bottom",
      "height": "800"
    },
    on: {
      "wxcPopupOverlayClicked": _vm.closeAlert
    }
  }, [_c('div', {
    staticClass: ["form"]
  }, [_c('div', {
    staticClass: ["formbox"],
    class: {
      acti: _vm.show
    }
  }, [_c('div', {
    staticClass: ["close"],
    on: {
      "click": _vm.closeAlert
    }
  }, [_c('image', {
    staticClass: ["close_img", "img"],
    attrs: {
      "src": _vm.close
    },
    on: {
      "click": _vm.closeAlert
    }
  })]), (_vm.shopingList.length > 0) ? _c('div', {
    staticClass: ["spanText"]
  }, [_c('text', [_vm._v("已选商品")])]) : _vm._e(), (_vm.shopingList.length == 0) ? _c('div', {
    staticClass: ["spanText"]
  }, [_c('text', [_vm._v("暂无已选商品")])]) : _vm._e(), _c('div', {
    staticClass: ["ul"]
  }, [_c('list', {
    staticStyle: {
      height: "300px"
    },
    attrs: {
      "offsetAccuracy": "300",
      "loadmoreoffset": "300"
    }
  }, _vm._l((_vm.shopingList), function(item, index) {
    return _c('cell', {
      appendAsTree: true,
      attrs: {
        "append": "tree"
      }
    }, [_c('div', {
      staticClass: ["ul_li"]
    }, [_c('div', {
      staticClass: ["ul_name"]
    }, [_c('text', [_vm._v(_vm._s(item.name))])]), _c('div', {
      staticClass: ["ul_price"]
    }, [_c('text', [_vm._v("￥" + _vm._s((item.price / 100).toFixed(2)))])]), _c('div', {
      staticClass: ["numbox"]
    }, [_c('div', {
      staticClass: ["numbox_span"],
      on: {
        "click": function($event) {
          _vm.add(item, 1)
        }
      }
    }, [_c('image', {
      staticClass: ["numbox_span_img"],
      attrs: {
        "src": _vm.jia
      },
      on: {
        "click": function($event) {
          _vm.add(item, 1)
        }
      }
    })]), _c('div', {
      staticClass: ["numbox_span", "num"]
    }, [_c('text', [_vm._v(_vm._s(item.num))])]), _c('div', {
      staticClass: ["numbox_span"],
      on: {
        "click": function($event) {
          _vm.add(item, -1)
        }
      }
    }, [_c('image', {
      staticClass: ["numbox_span_img"],
      attrs: {
        "src": _vm.jian
      },
      on: {
        "click": function($event) {
          _vm.add(item, -1)
        }
      }
    })])])])])
  }))])]), _c('div', {
    staticClass: ["form"],
    staticStyle: {
      height: "116px"
    }
  }, [_c('div', {
    staticClass: ["form_bottom", "border_top"]
  }, [_c('div', {
    staticClass: ["left"]
  }, [_c('div', {
    staticClass: ["form_bottom_text"]
  }, [_c('text', {
    staticClass: ["form_bottom_text_text1"]
  }, [_vm._v("合计：")]), _c('text', {
    staticClass: ["form_bottom_text_text2"]
  }, [_vm._v(_vm._s(_vm.total.toFixed(2)))])])]), _c('div', {
    staticClass: ["bt", "form_bottom_up"],
    on: {
      "click": _vm.upDown
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])])]), _c('div', {
    staticClass: ["butn"],
    on: {
      "click": _vm.alert
    }
  }, [_c('image', {
    staticClass: ["btn_img", "img"],
    attrs: {
      "src": _vm.icon5
    },
    on: {
      "click": _vm.alert
    }
  }), (_vm.count > 0) ? _c('div', {
    staticClass: ["dian"]
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v(_vm._s(_vm.count))])]) : _vm._e()])])]), _c('div', {
    staticClass: ["form"],
    staticStyle: {
      height: "116px"
    }
  }, [_c('div', {
    staticClass: ["form_bottom", "border_top"]
  }, [_c('div', {
    staticClass: ["left"]
  }, [_c('div', {
    staticClass: ["form_bottom_text"]
  }, [_c('text', {
    staticClass: ["form_bottom_text_text1"]
  }, [_vm._v("合计：")]), _c('text', {
    staticClass: ["form_bottom_text_text2"]
  }, [_vm._v(_vm._s(_vm.total.toFixed(2)))])])]), _c('div', {
    staticClass: ["bt", "form_bottom_up"],
    on: {
      "click": _vm.upDown
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])])]), _c('div', {
    staticClass: ["butn"],
    on: {
      "click": _vm.alert
    }
  }, [_c('image', {
    staticClass: ["btn_img", "img"],
    attrs: {
      "src": _vm.icon5
    },
    on: {
      "click": _vm.alert
    }
  }), (_vm.count > 0) ? _c('div', {
    staticClass: ["dian"]
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v(_vm._s(_vm.count))])]) : _vm._e()])], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 346 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(347)
)
__vue_styles__.push(__webpack_require__(348)
)

/* script */
__vue_exports__ = __webpack_require__(349)

/* template */
var __vue_template__ = __webpack_require__(350)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\shopDetail.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1ea81b57"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 347 */
/***/ (function(module, exports) {

module.exports = {
  "linebox": {
    "justifyContent": "flex-start",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "text": {
    "fontSize": "28"
  },
  "infor": {
    "color": "#999999",
    "fontSize": "24",
    "height": "80",
    "flex": 1,
    "justifyContent": "center"
  },
  "input": {
    "backgroundColor": "rgba(0,0,0,0)",
    "color": "#999999",
    "fontSize": "24",
    "height": "60"
  },
  "linebox1": {
    "flexDirection": "row",
    "paddingRight": "30",
    "paddingTop": "30",
    "paddingBottom": "30",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid"
  },
  "img": {
    "width": "214",
    "height": "160",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(220,220,220,1)",
    "borderRadius": "10"
  },
  "business_img": {
    "width": "214",
    "height": "160"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30",
    "flex": 1
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 348 */
/***/ (function(module, exports) {

module.exports = {
  "picker-item-text": {
    "fontSize": 30
  },
  "picker-bar": {
    "borderTopWidth": 1,
    "borderBottomWidth": 1
  }
}

/***/ }),
/* 349 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexXPicker = __webpack_require__(25);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var valueModule = weex.requireModule('event');
var modal = weex.requireModule('modal');
var actionSheet = weex.requireModule('actionSheet');
//  import access_token from '../access_token'

var picker = weex.requireModule('picker');
exports.default = {
    components: {
        header: _header2.default,
        XPicker: _weexXPicker.XPicker
    },
    name: 'shopManage',
    data: function data() {
        return {
            shop_info: {},
            defaultTitle: '',
            showPicker: false,
            typeList: [],
            type_title: [],
            back: _url2.default + '/appimages/back.png',
            access_token: '3IOdnFNwWZiZYoRkVamryNXQkdKVU2pb2MyYmqWiolSNg5idoZep2tOW0KycmFqdhZJSkVKYoqja1KCaWnNWVI2DpKekn6vP1Z/LnFVuWpeFjlLIn56gmtPdlp+cW25UlZlWZFOco8fNU5xaVWBa18zPlYdqYmVulZxnanFvZq8='
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getList();
            that.getTypes();
        });
    },

    methods: {
        getImg: function getImg() {
            var that = this;
            valueModule.openPhotoAlbum(function (res) {
                var imgUrl = res.imgUrl;
                that.shop_info.business_license = imgUrl;
            });
        },
        getList: function getList() {
            var that = this;
            var params = '/shop/shop/details' + '?' + 'access_token=' + this.access_token;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.shop_info = data.lists[0];
                    that.defaultTitle = data.lists[0].province + ' ' + data.lists[0].city + ' ' + data.lists[0].area;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        save: function save() {
            var that = this;
            var params = '/shop/shop/save' + '?' + 'access_token=' + this.access_token + '&shop_name=' + this.shop_info.shop_name + '&shop_type=' + this.shop_info.shop_type + '&person_average=' + this.shop_info.person_average + '&province=' + this.shop_info.province + '&city=' + this.shop_info.city + '&area=' + this.shop_info.area + '&address=' + this.shop_info.address + '&content=' + this.shop_info.content;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    modal.toast({
                        message: '编辑成功！',
                        duration: 1
                    });
                    that.$router.back();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        openPicker: function openPicker() {
            this.showPicker = true;
        },
        pickerOverlayClick: function pickerOverlayClick(e) {
            this.showPicker = false;
        },
        change: function change(e) {
            this.defaultTitle = e.title;
            this.shop_info.province = e.titles[0];
            this.shop_info.city = e.titles[1];
            this.shop_info.area = e.titles[2];
        },

        // 类型列表
        getTypes: function getTypes() {
            var that = this;
            var params = '/shop/shopType/list' + '?' + 'access_token=' + this.access_token + '&type=2';
            var newarr = [];

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.typeList = data.lists;
                    data.lists.forEach(function (item, index) {
                        newarr.push(item.name);
                    });
                    that.type_title = newarr;
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        selectType: function selectType() {
            var _this = this;

            picker.pick({
                items: this.type_title
            }, function (event) {
                if (event.result === 'success') {
                    _this.shop_info.shop_type = _this.typeList[event.data].id;
                    _this.shop_info.shop_type_name = _this.typeList[event.data].name;
                }
            });
        },
        down: function down() {
            this.$router.back();
        }
        // chooseImage() {
        //     //在原生环境下先选择图片
        //     //http://natjs.com/#/reference/media/image
        //     const items = [];
        //     items[0] = {'type': 0, 'message': '拍照'};
        //     items[1] = {'type': 0, 'message': '从相册取'};
        //     items[2] = {'type': 1, 'message': '取消'};

        //     const self = this;
        //     actionSheet.create({
        //         'items': items,
        //         'title': '提示',
        //         'message': '请选择'
        //     }, (ret) => {
        //         let result = ret.result;
        //         console.log("-图片选择或拍照结果-> " + JSON.stringify(ret));
        //         if (result !== 'success') {
        //             console.log("图片选择或拍照失败");
        //             return;
        //         }
        //         const {value, index} = ret.data;
        //         const proportion = {};
        //         if (self.proportion.length === 0) {
        //             //表示不限制
        //         } else {
        //             proportion.aspectX = self.proportion[0];
        //             proportion.aspectY = self.proportion[1]
        //         }
        //         const {aspectX, aspectY} = proportion;
        //         let flag = index === 0;
        //         photo.capture(flag, this.crop, {aspectX: aspectX, aspectY: aspectY}, (data) => {
        //             console.log("local path-> " + data);
        //             // if (data === undefined || data === null) {
        //             //     weexUtils.toast("图片选择出现异常!");
        //             //     return;
        //             // }
        //             // self.uploadByNative(data);
        //         }, (message) => {
        //             // weexUtils.toast(message);
        //         });
        //     });
        // },
        // uploadImage: function() {
        //     this.chooseImage();
        // }
    }
};

/***/ }),
/* 350 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticStyle: {
      flex: "1"
    }
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })]), _c('div', {
    staticClass: ["header_top_operation"]
  }, [_c('text', {
    staticClass: ["header_top_operation"],
    on: {
      "click": _vm.save
    }
  }, [_vm._v("编辑")])])]), _vm._m(0)]), _c('div', {
    staticClass: ["linelist"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _c('div', {
    staticClass: ["linebox"]
  }, [_vm._m(1), _c('div', {
    staticClass: ["infor"]
  }, [_c('input', {
    staticClass: ["input"],
    attrs: {
      "type": "text",
      "value": _vm.shop_info.shop_name
    }
  })])]), _c('div', {
    staticClass: ["linebox"]
  }, [_vm._m(2), _c('div', {
    staticClass: ["infor"]
  }, [_c('input', {
    staticClass: ["input"],
    attrs: {
      "type": "text",
      "value": _vm.shop_info.shop_type_name,
      "placeholder": "请选择店铺类型",
      "disabled": ""
    },
    on: {
      "click": _vm.selectType
    }
  })])]), _c('div', {
    staticClass: ["linebox"]
  }, [_vm._m(3), _c('div', {
    staticClass: ["infor"]
  }, [_c('input', {
    staticClass: ["input"],
    attrs: {
      "type": "number",
      "value": _vm.shop_info.person_average
    }
  })])]), _c('div', {
    staticClass: ["linebox"]
  }, [_vm._m(4), _c('div', {
    staticClass: ["infor"],
    on: {
      "click": _vm.openPicker
    }
  }, [_c('input', {
    staticClass: ["input"],
    attrs: {
      "type": "text",
      "value": _vm.shop_info.province + _vm.shop_info.city + _vm.shop_info.area
    },
    on: {
      "change": _vm.openPicker,
      "focus": _vm.openPicker
    }
  })])]), _c('div', {
    staticClass: ["linebox"]
  }, [_vm._m(5), _c('div', {
    staticClass: ["infor"]
  }, [_c('input', {
    staticClass: ["input"],
    attrs: {
      "type": "text",
      "value": _vm.shop_info.address
    }
  })])]), _c('div', {
    staticClass: ["linebox"]
  }, [_vm._m(6), _c('div', {
    staticClass: ["infor"]
  }, [_c('input', {
    staticClass: ["input"],
    attrs: {
      "type": "text",
      "value": _vm.shop_info.content
    }
  })])]), _c('div', {
    staticClass: ["linebox1"]
  }, [_vm._m(7), _c('div', {
    staticClass: ["img"],
    on: {
      "click": _vm.getImg
    }
  }, [_c('image', {
    staticClass: ["business_img"],
    attrs: {
      "src": _vm.shop_info.business_license
    },
    on: {
      "click": _vm.getImg
    }
  })])])])]), _c('x-picker', {
    attrs: {
      "type": "area",
      "show": _vm.showPicker,
      "defaultTitle": _vm.defaultTitle
    },
    on: {
      "overlayClick": _vm.pickerOverlayClick,
      "onchange": _vm.change
    }
  })], 1)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("店铺信息")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v("店铺名称：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v("门店分类：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v(" 人均消费：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v("商铺位置：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v("详细地址：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v("店铺介绍：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text", "text"]
  }, [_c('text', [_vm._v("营业执照：")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 351 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(352)
)

/* script */
__vue_exports__ = __webpack_require__(353)

/* template */
var __vue_template__ = __webpack_require__(354)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\shopManage.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1dd0132a"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 352 */
/***/ (function(module, exports) {

module.exports = {
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 353 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    components: {
        header: _header2.default
    },
    name: 'shopManage',
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            icon1: _url2.default + '/appimages/icon1.png',
            img1: _url2.default + '/appimages/img1.png'
        };
    },

    methods: {
        downback: function downback() {
            this.$router.back();
        },
        down: function down(name) {
            this.$router.push({
                name: name
            });
        }
    }

};

/***/ }),
/* 354 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('div', {
    staticClass: ["header_space"]
  }), _c('div', {
    staticClass: ["linelist"]
  }, [_c('div', {
    staticClass: ["linebox"],
    on: {
      "click": function($event) {
        _vm.down('shopDetail')
      }
    }
  }, [_vm._m(0), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])]), _c('div', {
    staticClass: ["linebox"],
    on: {
      "click": function($event) {
        _vm.down('salesRecords')
      }
    }
  }, [_vm._m(1), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])]), _c('div', {
    staticClass: ["linebox"],
    on: {
      "click": function($event) {
        _vm.down('dishesType')
      }
    }
  }, [_vm._m(2), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])])]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"],
    on: {
      "click": _vm.downback
    }
  }, [_c('div', {
    staticClass: ["header_top"]
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(3)])])])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text"]
  }, [_c('text', {
    staticClass: ["linebox_text"]
  }, [_vm._v("商铺信息")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text"]
  }, [_c('text', {
    staticClass: ["linebox_text"]
  }, [_vm._v("售卖统计")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["linebox_text"]
  }, [_c('text', {
    staticClass: ["linebox_text"]
  }, [_vm._v("商品类型")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("店铺管理")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 355 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(356)
)

/* script */
__vue_exports__ = __webpack_require__(357)

/* template */
var __vue_template__ = __webpack_require__(358)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\shopOrder.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-acf9a790"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 356 */
/***/ (function(module, exports) {

module.exports = {
  "d_list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30",
    "flex": 1
  },
  "dl": {
    "marginTop": "40",
    "paddingLeft": "20",
    "paddingRight": "20",
    "paddingTop": "30",
    "paddingBottom": "20",
    "backgroundColor": "rgba(255,255,255,1)",
    "borderWidth": "2",
    "borderStyle": "solid",
    "borderColor": "rgba(92,158,235,0.3)",
    "borderRadius": "10",
    "marginBottom": "30"
  },
  "dt": {
    "flexDirection": "row",
    "paddingBottom": "30"
  },
  "img": {
    "width": "100",
    "height": "100",
    "borderRadius": "10"
  },
  "img1": {
    "width": "100",
    "height": "100"
  },
  "text": {
    "justifyContent": "space-between",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "text1": {
    "justifyContent": "space-between"
  },
  "text2": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginRight": "20",
    "marginBottom": "20"
  },
  "text3": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#000000",
    "lineHeight": "25"
  },
  "price": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(216,70,63,1)",
    "lineHeight": "25"
  },
  "dd": {
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "flex-end"
  },
  "p": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(107,113,120,1)",
    "lineHeight": "25",
    "paddingBottom": "20"
  },
  "bt2": {
    "height": "60",
    "color": "#000000"
  },
  "dd2": {
    "paddingTop": "20",
    "paddingRight": 0,
    "paddingBottom": "43",
    "paddingLeft": 0,
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "space-between"
  },
  "total": {
    "flexDirection": "row",
    "color": "#000000",
    "fontSize": "32"
  },
  "total_p": {
    "lineHeight": 1.8,
    "color": "#D8463F",
    "fontSize": "28"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "bottom": 0,
    "top": 0,
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "marginRight": "15",
    "fontWeight": "400",
    "lineHeight": "30",
    "fontSize": "32",
    "color": "rgba(153,153,153,1)"
  },
  "home_ul_active": {
    "marginRight": "30",
    "fontWeight": "400",
    "lineHeight": "30",
    "fontSize": "36",
    "color": "rgba(0,0,0,1)"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingBottom": "10"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "width": "690",
    "height": "80",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "bt": {
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 357 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexUi = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var modal = weex.requireModule('modal');
var valueModule = weex.requireModule('event');
//  import access_token from '../access_token'
exports.default = {
    components: {
        WxcPartLoading: _weexUi.WxcPartLoading
    },
    name: 'shopOrder',
    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            isShow: true,
            stateArr: [{
                id: 1,
                name: '未完成'
            }, {
                id: 2,
                name: '已完成'
            }],
            state: 1,
            list: [],
            page: 1,
            loadinging: false,
            access_token: '3IOdnFNwWZiZYoRkVamryNXQkdKVU2pb2MyYmqWiolSNg5idoZep2tOW0KycmFqdhZJSkVKYoqja1KCaWnNWVI2DpKekn6vP1Z/LnFVuWpeFjlLIn56gmtPdlp+cW25UlZlWZFOco8fNU5xaVWBax8jOUp9SYlJlh9igo51bbmOWlmVsZGZsnJeu'
        };
    },
    created: function created() {

        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.getList(1, 1);
        });
    },

    methods: {
        down: function down() {
            this.$router.back();
        },
        switchTab: function switchTab(id) {
            this.page = 1;
            this.state = id;
            this.getList(2, this.state);
        },
        getList: function getList(type, state) {
            var that = this;
            var params = '/shop/order/order_lists' + '?' + 'access_token=' + this.access_token + '&type=1' + '&state=' + state + '&page=' + this.page;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    if (data.lists.length > 0) {
                        that.list = type == 1 ? that.list.concat(data.lists) : data.lists;
                    }
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        onloading: function onloading(event) {
            var _this = this;

            this.loadinging = true;
            setTimeout(function () {
                _this.loadinging = false;
                _this.page++;
                _this.getList(1, _this.state);
            }, 1000);
        }
    }
};

/***/ }),
/* 358 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _c('div', {
    staticClass: ["home_ul"]
  }, _vm._l((_vm.stateArr), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["home_ul_li"],
      on: {
        "click": function($event) {
          _vm.switchTab(item.id)
        }
      }
    }, [_c('text', {
      class: [item.id == _vm.state ? 'home_ul_active' : 'home_ul_li']
    }, [_vm._v(_vm._s(item.name))])])
  }))]), _c('div', {
    staticClass: ["d_list"]
  }, [_c('scroller', {
    attrs: {
      "showScrollbar": "false"
    }
  }, [_vm._l((_vm.list), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["dl"]
    }, [_vm._l((item.order_attach), function(item2) {
      return _c('div', {
        staticClass: ["dt"]
      }, [_c('div', {
        staticClass: ["img"]
      }, [_c('image', {
        staticClass: ["img1"],
        attrs: {
          "src": item2.product_logo
        }
      })]), _c('div', {
        staticClass: ["text"]
      }, [_c('div', {
        staticClass: ["text1"]
      }, [_c('text', {
        staticClass: ["text2"]
      }, [_vm._v(_vm._s(item2.product_name))]), _c('text', {
        staticClass: ["text3"]
      }, [_vm._v("x" + _vm._s(item2.quantity))])]), _c('text', {
        staticClass: ["price"]
      }, [_vm._v("￥" + _vm._s(item2.moneySum / 100))])])])
    }), _c('div', {
      staticClass: ["dd"]
    }, [_c('div', {
      staticClass: ["infor"]
    }, [_c('text', {
      staticClass: ["p"]
    }, [_vm._v("地址：" + _vm._s(item.address))]), _c('text', {
      staticClass: ["p"]
    }, [_vm._v("收货人：" + _vm._s(item.name))]), _c('text', {
      staticClass: ["p"]
    }, [_vm._v("付款方式：" + _vm._s(item.pay_type == 1 ? '线上付款' : '货到付款'))])])]), _c('div', {
      staticClass: ["dd2"]
    }, [_c('div', {
      staticClass: ["total"]
    }, [_c('text', [_vm._v("合计：")]), _c('div', {
      staticClass: ["total_p"]
    }, [_c('text', [_vm._v(_vm._s(item.money / 100))])])]), _c('div', {
      staticClass: ["bt2"]
    }, [_c('text', [_vm._v(_vm._s(item.state == 1 ? '未完成' : '已完成'))])])])], 2)
  }), _c('loading', {
    staticClass: ["loading"],
    attrs: {
      "display": _vm.loadinging ? 'show' : 'hide'
    },
    on: {
      "loading": _vm.onloading
    }
  }, [_c('text', {
    staticClass: ["indicator-text"]
  }, [_vm._v("正在加载中...")])])], 2)])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 359 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(360)
)

/* script */
__vue_exports__ = __webpack_require__(361)

/* template */
var __vue_template__ = __webpack_require__(362)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\userOrder.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1a6189fa"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 360 */
/***/ (function(module, exports) {

module.exports = {
  "mb20": {
    "marginBottom": "20"
  },
  "form": {
    "backgroundColor": "#FFFFFF",
    "paddingTop": 0,
    "paddingRight": 0,
    "paddingBottom": "10",
    "paddingLeft": 0
  },
  "d_list_dt": {
    "flexDirection": "row",
    "paddingBottom": "30",
    "paddingTop": "30",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid"
  },
  "dt_img": {
    "width": "100",
    "height": "100",
    "borderRadius": "10"
  },
  "img1": {
    "width": "100",
    "height": "100"
  },
  "dt_text1": {
    "flexDirection": "row",
    "justifyContent": "space-between",
    "marginBottom": "30"
  },
  "textwrap": {
    "flex": 1,
    "marginLeft": "40",
    "marginRight": "40"
  },
  "text2": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "text3": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#000000",
    "lineHeight": "25"
  },
  "price": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(216,70,63,1)",
    "lineHeight": "25"
  },
  "formbox": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "borderRadius": "20",
    "backgroundColor": "#FFFFFF",
    "paddingTop": "60"
  },
  "close": {
    "width": "34",
    "height": "34"
  },
  "close_img": {
    "width": "34",
    "height": "34"
  },
  "span": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30",
    "marginTop": "30"
  },
  "formbox_dl": {
    "paddingTop": 0,
    "paddingRight": 0,
    "paddingBottom": 0,
    "paddingLeft": 0,
    "marginTop": "30"
  },
  "formbox_dd": {
    "height": "200",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "paddingTop": "20",
    "paddingBottom": "20"
  },
  "textarea": {
    "height": "180",
    "fontSize": "24",
    "marginTop": "10",
    "backgroundColor": "rgba(0,0,0,0)"
  },
  "bt": {
    "backgroundColor": "#0088FB",
    "marginTop": "20",
    "height": "80",
    "justifyContent": "center",
    "alignItems": "center",
    "borderRadius": "10",
    "color": "#FFFFFF"
  },
  "flex1": {
    "flex": 1
  },
  "loading": {
    "flexDirection": "row",
    "marginTop": "20",
    "marginBottom": "20",
    "justifyContent": "center",
    "alignContent": "center"
  },
  "indicator-text": {
    "color": "#52a3d8",
    "fontSize": "24",
    "marginBottom": "30"
  },
  "Mask": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "backgroundColor": "rgba(0,0,0,0.3)"
  },
  "header": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "backgroundColor": "#FFFFFF"
  },
  "header_top": {
    "height": "100",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "header_top_back": {
    "width": "20",
    "height": "34"
  },
  "header_top_operation": {
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "header_title": {
    "paddingBottom": "40",
    "lineHeight": "30",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "header_title_text": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)"
  },
  "header_wrap": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "top": 0,
    "background": "#FFFFFF",
    "height": "170"
  },
  "header_space": {
    "height": "170"
  },
  "font_space": {
    "height": "120"
  },
  "icon0": {
    "width": "40",
    "height": "35"
  },
  "icon1": {
    "width": "10",
    "height": "18"
  },
  "icon3": {
    "width": "88",
    "height": "88"
  },
  "border_top": {
    "borderTopWidth": "1",
    "borderTopColor": "#F0F1F4",
    "borderTopStyle": "solid"
  },
  "border_bottom": {
    "borderBottomWidth": "1",
    "borderBottomColor": "#F0F1F4",
    "borderBottomStyle": "solid"
  },
  "home_ul": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "height": "100",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "home_ul_li": {
    "paddingRight": "30",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "30"
  },
  "home_ul_active": {
    "fontSize": "36",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "30"
  },
  "seach_wrap": {
    "backgroundColor": "rgba(255,255,255,1)",
    "borderRadius": "10",
    "marginLeft": "30",
    "marginRight": "30",
    "marginBottom": "20",
    "height": "80",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24"
  },
  "seach_wrap_seach_icon": {
    "width": "32",
    "height": "32",
    "marginRight": "24"
  },
  "seach_wrap_seach_icon_img": {
    "width": "32",
    "height": "32"
  },
  "seach_wrap_seach_box": {
    "flex": 1,
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "#999999",
    "lineHeight": "30"
  },
  "seach_wrap_seach_box_input": {
    "fontSize": "24"
  },
  "list": {
    "paddingRight": "30",
    "paddingLeft": "30",
    "paddingTop": "30",
    "paddingBottom": "30"
  },
  "list_dl": {
    "borderRadius": "10",
    "flexDirection": "row",
    "marginBottom": "30"
  },
  "list_dl_dt": {
    "flexDirection": "row",
    "borderRadius": "10"
  },
  "list_dl_dt_img": {
    "width": "170",
    "height": "96",
    "borderRadius": "10"
  },
  "list_dl_dt_img1": {
    "width": "170",
    "height": "96"
  },
  "list_dl_dd": {
    "flex": 1,
    "marginLeft": "30"
  },
  "list_dl_dd_text": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(0,0,0,1)",
    "lineHeight": "25",
    "marginBottom": "20"
  },
  "list_dl_dd_text1": {
    "flexDirection": "row"
  },
  "list_dl_dd_text1_text3": {
    "fontSize": "20",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "25",
    "marginRight": "20"
  },
  "form_dl": {
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingTop": "10"
  },
  "form_dl_dt": {
    "height": "70",
    "justifyContent": "center",
    "fontSize": "28",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(74,74,74,1)",
    "lineHeight": "30"
  },
  "form_dl_dd": {
    "height": "70",
    "backgroundColor": "rgba(240,241,244,1)",
    "borderRadius": "10",
    "justifyContent": "center",
    "paddingLeft": "20",
    "paddingRight": "20"
  },
  "form_dl_dd_input": {
    "fontSize": "28",
    "backgroundColor": "rgba(240,241,244,1)"
  },
  "form_bottom": {
    "position": "fixed",
    "bottom": 0,
    "left": 0,
    "right": 0,
    "height": "120",
    "backgroundColor": "#FFFFFF",
    "justifyContent": "space-between",
    "flexDirection": "row"
  },
  "form_bottom_up": {
    "width": "200",
    "marginRight": "30"
  },
  "form_bottom_text": {
    "flexDirection": "row",
    "alignItems": "center",
    "marginLeft": "30"
  },
  "form_bottom_text_text1": {
    "fontSize": "32",
    "fontWeight": "400"
  },
  "form_bottom_text_text2": {
    "fontSize": "28",
    "color": "#D8463F",
    "fontWeight": "400"
  },
  "linelist": {
    "paddingLeft": "30"
  },
  "linebox": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30"
  },
  "linebox_active": {
    "height": "100",
    "justifyContent": "space-between",
    "flexDirection": "row",
    "alignItems": "center",
    "borderBottomWidth": "1",
    "borderBottomColor": "rgba(240,241,244,1)",
    "borderBottomStyle": "solid",
    "paddingRight": "30",
    "borderLeftWidth": "3",
    "borderLeftColor": "#0088FB",
    "borderLeftStyle": "solid",
    "paddingLeft": "15"
  },
  "linebox_text": {
    "fontSize": "24"
  },
  "numbox": {
    "flexDirection": "row"
  },
  "numbox_span": {
    "paddingTop": 0,
    "paddingRight": "10",
    "paddingBottom": 0,
    "paddingLeft": "10",
    "height": "40",
    "borderRadius": "20",
    "alignItems": "center",
    "justifyContent": "center"
  },
  "numbox_span_img": {
    "width": "40",
    "height": "40"
  },
  "content": {
    "fontSize": "24",
    "fontFamily": "MicrosoftYaHei",
    "fontWeight": "400",
    "color": "rgba(153,153,153,1)",
    "lineHeight": "34",
    "marginBottom": "30",
    "marginTop": "30"
  }
}

/***/ }),
/* 361 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _header = __webpack_require__(5);

var _header2 = _interopRequireDefault(_header);

var _url = __webpack_require__(1);

var _url2 = _interopRequireDefault(_url);

var _request = __webpack_require__(2);

var _request2 = _interopRequireDefault(_request);

var _weexUi = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var modal = weex.requireModule('modal'); //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var valueModule = weex.requireModule('event');
var stream = weex.requireModule('stream');
//  import access_token from '../access_token'
exports.default = {
    components: {
        header: _header2.default,
        WxcPartLoading: _weexUi.WxcPartLoading,
        WxcPopup: _weexUi.WxcPopup
    },
    name: 'userOrder',

    data: function data() {
        return {
            back: _url2.default + '/appimages/back.png',
            close: _url2.default + '/appimages/close.png',
            img1: _url2.default + '/appimages/img1.png',
            icon1: _url2.default + '/appimages/icon1.png',
            icon2: _url2.default + '/appimages/icon2.png',
            show: false,
            shop_name: '',
            shopingList: [],
            total: '',
            num: '',
            amount: '',
            name: '',
            mobile: '',
            address: '',
            content: '',
            pay_type: 2,
            payid: '',
            access_token: '3IOdnFNwWZiYZ4RkVamryNXQkdKVU2pblpdqaWtsZ2WUlGdaXViby9aS1KygmabXzMZSn1JhUmWHy6mlramdloObVlpdWKfV2ZrWoaKioceFnFKZUl1SnNTRp5emspObxYNuWmVpWZKIl86ZmlZyhYWOUsmVnVJzh5VZYlqtnZ/Gg25pZmtpmJ1kmnFjsQ=='

        };
    },
    created: function created() {
        var that = this;
        valueModule.getUserInfo(function (res) {
            var token = res.token;
            that.access_token = token;
            that.id = that.$route.query.id;
            that.shop_name = that.$route.query.name;
            that.getShopingList();
        });
    },

    methods: {
        paytype: function paytype(_paytype) {
            this.pay_type = _paytype;
        },
        down: function down() {
            this.$router.back();
        },
        alert: function alert() {
            this.show = true;
        },
        closeAlert: function closeAlert() {
            this.show = false;
        },
        //计算金额
        sum: function sum() {
            this.total = 0;
            for (var i = 0; i < this.shopingList.length; i++) {
                this.total += this.shopingList[i].price / 100 * this.shopingList[i].num;
            }
            this.total = this.total.toFixed(2);
            this.amount = this.total * 100;
        },
        getShopingList: function getShopingList() {
            var that = this;
            var params = '/cart/cart/cart_list' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id;

            function callback(res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    that.shopingList = data.lists;
                    that.num = data.count;
                    that.sum();
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            }
            _request2.default.get(params, callback);
        },
        addOrder: function addOrder() {
            var that = this;
            if (this.name == '' || this.mobile == '' || this.address == '') {
                modal.toast({
                    message: '请填写信息',
                    duration: 1
                });
                return false;
            }
            var myreg = /^1[3|4|5|6|7|8][0-9]\d{8}$/;
            if (!myreg.test(that.mobile)) {
                modal.toast({
                    message: '手机格式有误',
                    duration: 1
                });
                return false;
            }
            var params = '/shop/order/add' + '?' + 'access_token=' + this.access_token + '&shop_id=' + this.$route.query.id + '&num=' + this.num + '&amount=' + this.amount + '&name=' + this.name + '&mobile=' + this.mobile + '&address=' + this.address + '&content=' + this.content + '&pay_type=' + this.pay_type;

            _request2.default.get(params, function (res) {
                var data = res.data.response_data;
                if (!res.data.error_code) {
                    if (that.pay_type == 2) {
                        that.$router.push({
                            path: '/orderStatus'
                        });
                    }
                    if (that.pay_type == 1) {
                        stream.fetch({
                            method: 'GET',
                            type: 'json',
                            url: 'http://diancan.deitylamp.com/diancan/2.0/shop/pay/abc_pay_url?id=' + data.lists.order_id + '&type=1' + '&PaymentLinkType=2' + '&PaymentType=A'
                        }, function (res) {
                            valueModule.getWebPay({
                                'url': res.data.response_data,
                                'title': '农行支付'
                            });
                        });
                    }
                } else {
                    modal.toast({
                        message: res.data.error_msg,
                        duration: 1
                    });
                }
            });
        }
    }
};

/***/ }),
/* 362 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["flex1"]
  }, [_c('div', {
    staticClass: ["flex1"]
  }, [_c('scroller', {
    staticClass: ["scroller"],
    attrs: {
      "showScrollbar": "false"
    }
  }, [_c('div', {
    staticClass: ["header_space"]
  }), _c('div', {
    staticClass: ["linelist"]
  }, [_c('div', {
    staticClass: ["linebox"]
  }, [_c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v(_vm._s(_vm.shop_name))])])]), _c('div', {
    staticClass: ["d_list"]
  }, _vm._l((_vm.shopingList), function(item) {
    return _c('div', {
      staticClass: ["dl"]
    }, [_c('div', {
      staticClass: ["dt", "d_list_dt"]
    }, [_c('div', {
      staticClass: ["img", "dt_img"]
    }, [_c('image', {
      staticClass: ["img1"],
      attrs: {
        "src": item.product_logo
      }
    })]), _c('div', {
      staticClass: ["textwrap"],
      staticStyle: {
        flex: "1"
      }
    }, [_c('div', {
      staticClass: ["dt_text1"]
    }, [_c('text', {
      staticClass: ["text2"]
    }, [_vm._v(_vm._s(item.name))]), _c('text', {
      staticClass: ["price"]
    }, [_vm._v("￥" + _vm._s((item.price / 100).toFixed(2)))])]), _c('div', {
      staticClass: ["text3"]
    }, [_c('text', [_vm._v("x" + _vm._s(item.num))])])])])])
  })), _c('div', {
    staticClass: ["linebox"],
    class: [_vm.pay_type == 2 ? 'linebox_active' : 'linebox'],
    on: {
      "click": function($event) {
        _vm.paytype(2)
      }
    }
  }, [_vm._m(0), _vm._m(1)]), _c('div', {
    staticClass: ["linebox"],
    class: [_vm.pay_type == 1 ? 'linebox_active' : 'linebox'],
    on: {
      "click": function($event) {
        _vm.paytype(1)
      }
    }
  }, [_vm._m(2), _vm._m(3)]), _c('div', {
    staticClass: ["linebox"],
    on: {
      "click": _vm.alert
    }
  }, [_vm._m(4), _c('div', {
    staticClass: ["img"]
  }, [_c('image', {
    staticClass: ["icon1"],
    attrs: {
      "src": _vm.icon1
    }
  })])])]), _c('div', {
    staticClass: ["form", "mb20"]
  }, [_c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(5), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入姓名",
      "value": "",
      "value": (_vm.name)
    },
    on: {
      "input": function($event) {
        _vm.name = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(6), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入手机号",
      "value": "",
      "value": (_vm.mobile)
    },
    on: {
      "input": function($event) {
        _vm.mobile = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_dl"]
  }, [_vm._m(7), _c('div', {
    staticClass: ["form_dl_dd"]
  }, [_c('input', {
    staticClass: ["form_dl_dd_input"],
    attrs: {
      "type": "text",
      "placeholder": "请输入详细地址",
      "value": "",
      "value": (_vm.address)
    },
    on: {
      "input": function($event) {
        _vm.address = $event.target.attr.value
      }
    }
  })])])]), _c('div', {
    staticClass: ["linebox", "border_top"],
    staticStyle: {
      paddingLeft: "30px",
      paddingRight: "30px"
    },
    on: {
      "click": _vm.alert
    }
  }, [_vm._m(8), _c('div', [_c('text', [_vm._v(_vm._s(_vm.total))])])]), _c('div', {
    staticClass: ["border_top"],
    staticStyle: {
      paddingLeft: "30px",
      paddingRight: "30px"
    },
    on: {
      "click": _vm.addOrder
    }
  }, [_c('div', {
    staticClass: ["bt"],
    on: {
      "click": _vm.addOrder
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])]), _c('div', {
    staticStyle: {
      height: "100px"
    }
  })])]), _c('wxc-popup', {
    attrs: {
      "popupColor": "rgb(255,255,255)",
      "show": _vm.show,
      "pos": "bottom",
      "height": "800"
    },
    on: {
      "wxcPopupOverlayClicked": _vm.closeAlert
    }
  }, [_c('div', {
    staticClass: ["form"]
  }, [_c('div', {
    staticClass: ["formbox"]
  }, [_c('div', {
    staticClass: ["close"],
    on: {
      "click": _vm.closeAlert
    }
  }, [_c('image', {
    staticClass: ["close_img"],
    attrs: {
      "src": _vm.close
    },
    on: {
      "click": _vm.closeAlert
    }
  })]), _c('div', {
    staticClass: ["span"]
  }, [_c('text', [_vm._v("请输入口味、偏好等要求")])]), _c('div', {
    staticClass: ["form_dl", "formbox_dl"]
  }, [_c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("添加地址：")])]), _c('div', {
    staticClass: ["form_dl_dd", "formbox_dd"]
  }, [_c('textarea', {
    staticClass: ["textarea"],
    attrs: {
      "placeholder": "请输入详细地址",
      "value": (_vm.content)
    },
    on: {
      "input": function($event) {
        _vm.content = $event.target.attr.value
      }
    }
  })])]), _c('div', {
    staticClass: ["form_bottom", "border_top"],
    on: {
      "click": _vm.closeAlert
    }
  }, [_c('div', {
    staticClass: ["bt"],
    staticStyle: {
      position: "absolute",
      left: "30px",
      right: "30px"
    }
  }, [_c('text', {
    staticStyle: {
      color: "#FFFFFF"
    }
  }, [_vm._v("提交")])])])])])]), _c('div', {
    staticClass: ["header_wrap", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header", "border_bottom"]
  }, [_c('div', {
    staticClass: ["header_top"],
    on: {
      "click": _vm.down
    }
  }, [_c('div', {
    staticClass: ["header_top_back"]
  }, [_c('image', {
    staticClass: ["header_top_back"],
    attrs: {
      "src": _vm.back
    }
  })])]), _vm._m(9)])])], 1)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v("付款方式")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v("到付")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v("在线支付")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v("农行支付")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v("备注")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("姓名：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("手机号：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["form_dl_dt"]
  }, [_c('text', [_vm._v("添加地址：")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["text"]
  }, [_c('text', [_vm._v("合计")])])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["header_title"]
  }, [_c('text', {
    staticClass: ["header_title_text"]
  }, [_vm._v("订单")])])
}]}
module.exports.render._withStripped = true

/***/ }),
/* 363 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* script */
__vue_exports__ = __webpack_require__(364)

/* template */
var __vue_template__ = __webpack_require__(365)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\components\\HelloWorld.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 364 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _weexUi = __webpack_require__(3);

exports.default = {
    components: {
        WxcButton: _weexUi.WxcButton
    },
    methods: {
        wxcButtonClicked: function wxcButtonClicked(e) {
            var modal = weex.requireModule('modal');
            modal.toast({
                message: "This is a toast",
                duration: 1
            });
            console.log(e);
        }
    }
}; //
//
//
//
//
//

/***/ }),
/* 365 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    attrs: {
      "id": ""
    }
  }, [_c('text', {
    staticClass: ["message"]
  }, [_vm._v("Now, let's use Vue.js to build your Weex app.")]), _c('wxc-button', {
    attrs: {
      "text": "确定"
    },
    on: {
      "wxcButtonClicked": _vm.wxcButtonClicked
    }
  })], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 366 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(367)
)

/* script */
__vue_exports__ = __webpack_require__(368)

/* template */
var __vue_template__ = __webpack_require__(369)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\岳晓飞2018年工作项目\\oaWeex\\diancan_weex\\oa\\src\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1a4d8e3c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 367 */
/***/ (function(module, exports) {

module.exports = {}

/***/ }),
/* 368 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//

exports.default = {
    name: 'App',
    data: function data() {
        return {
            logo: 'https://gw.alicdn.com/tfs/TB1yopEdgoQMeJjy1XaXXcSsFXa-640-302.png'
        };
    }
};

/***/ }),
/* 369 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', [_c('router-view')], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ })
/******/ ]);